Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. SSL IIS AND HTTP403 Error

SSL IIS AND HTTP403 Error

Scheduled Pinned Locked Moved ASP.NET
securitywindows-admincryptographytoolshelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 666101
    wrote on last edited by
    #1

    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 1 Reply Last reply
    0
    • U User 666101

      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 Offline
      I Offline
      ian mariano
      wrote on last edited by
      #2

      SSL uses the https protocol, so you need to use https://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

      U 1 Reply Last reply
      0
      • I ian mariano

        SSL uses the https protocol, so you need to use https://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

        U Offline
        U Offline
        User 666101
        wrote on last edited by
        #3

        Ian, 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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups