Created
February 13, 2024 08:48
-
-
Save rippo/f39dfe259bad3ae27b89032b5cbbc17c to your computer and use it in GitHub Desktop.
Enable ssl on a .net 4.5 site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM Stack Overflow | |
https://stackoverflow.com/a/54697319/15410 | |
I see this EXACT problem from time to time, when using SSL, and have found that (especially when working on someone else's project in a team environment) the Visual Studio project web settings (SSL ports) sometimes get messed up. Here's what I do to fix them: | |
In Solution Explorer, click your project. | |
Hit the F4 key (view properties). | |
Copy the URL (NOT the SSL URL). | |
Paste the URL into the Project Url on the Web Tab, Save. | |
In Solution Explorer, click your project. | |
Hit the F4 key (view properties). | |
Change SSL Enabled to false. | |
Change it back to true. There should be a new SSL URL. Copy it. | |
Paste the new SSL URL into Project URL on Web tab. Click Create Virtual Directory. | |
Click Override application root URL, and paste in SSL URL. Save. | |
This always solves the issue for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment