SSL IIS AND HTTP403 Error
-
I am adding SSL on a virtual directory. When I now try to open an existing project (it would open before adding SSL) I receive HTTP Error 403: Access Forbidden. Additionally, the error states the file path C:\mydirectorystructure\myfolder does not correspond to the URL http://Localhost:/myfolder. This is my first attempt at using SSL. So to recap my steps: to install SSL, I right clicked the virtual directory --> chose properties --> then I chose the Directory Security tab. In the secure communications section I clicked Edit... --> then I selected Require SSL checkbox -- hit ok and closed the properties window of the virtual directory. Next, I tried to open the existing project and received the error mentioned above. I think I am missing something but not sure what. This is my first go round with SSL so please type slowly :-)! Can anybody guide me on what I am missing? p.s. I don't know if this has anything to do with it, but I created my own certificate with the makecert utility. The certificate has been installed in IIS. When I look at its properties, the general informatino shows "This Root certificate is not trusted. To enable trust, install the certificate in the Trusted Root Certification Authorities store". TYIA,
-
I am adding SSL on a virtual directory. When I now try to open an existing project (it would open before adding SSL) I receive HTTP Error 403: Access Forbidden. Additionally, the error states the file path C:\mydirectorystructure\myfolder does not correspond to the URL http://Localhost:/myfolder. This is my first attempt at using SSL. So to recap my steps: to install SSL, I right clicked the virtual directory --> chose properties --> then I chose the Directory Security tab. In the secure communications section I clicked Edit... --> then I selected Require SSL checkbox -- hit ok and closed the properties window of the virtual directory. Next, I tried to open the existing project and received the error mentioned above. I think I am missing something but not sure what. This is my first go round with SSL so please type slowly :-)! Can anybody guide me on what I am missing? p.s. I don't know if this has anything to do with it, but I created my own certificate with the makecert utility. The certificate has been installed in IIS. When I look at its properties, the general informatino shows "This Root certificate is not trusted. To enable trust, install the certificate in the Trusted Root Certification Authorities store". TYIA,
SSL uses the
https
protocol, so you need to usehttps://Localhost:/myfolder
as your URL. As far as trusting, when you import the certificate into your browser, you should be able to choose the certificate store when adding it.Ian Mariano - Bliki | Blog
"We are all wave equations in the information matrix of the universe" - me -
SSL uses the
https
protocol, so you need to usehttps://Localhost:/myfolder
as your URL. As far as trusting, when you import the certificate into your browser, you should be able to choose the certificate store when adding it.Ian Mariano - Bliki | Blog
"We are all wave equations in the information matrix of the universe" - meIan, I have changed the solution file and the csproj file to https://localhost/myfolder. Now I am receiving the error that a connection with the server could not be established. Any other suggestions? TYIA, lonelobo