Using SSl on loccalhost

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omerbutt
    Contributor
    • Nov 2006
    • 638

    Using SSl on loccalhost

    hi
    i am trying to open a default https://localhost page from my default xampp page but i am continuously receiving error as below for chrome and firefox

    CHROME

    SSL connection error
    Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
    Error 107 (net::ERR_SSL_P ROTOCOL_ERROR): SSL protocol error.
    FIREFOX
    The connection was interrupted
    The connection to localhost was interrupted while the page was loading.
    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    I have done all the settings for ssl, where as i dont think i need to do any setting for it the version for xampp is 1.7 and the same version installed on my home pc runs the default page https://localhost perfectly without any custom settings ,
    the thing that i cant help noticing is the prompt for accepting the certificate in the browser with the following text.

    This Connection is Untrusted
    You have asked Firefox to connect
    securely to localhost, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely,
    sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continue.
    This particular message appear on my home PC through which i can install the certificate and move on to the site, same is fir all the other Pc in my office but not on your Office PC.Is there anyone in this world who can guide me.
    Regards,
    Omer Aslam
  • Aurangzeb
    New Member
    • Sep 2013
    • 11

    #2
    The error of secure connection is because your browser can not find the trusted source that you request from your local server. If you want to connect localhost from browser you should use a Self-Signed SSL Certificate for running a page though localhost, Its allow you to run your page on different browsers but limited to local server where you are testing your pages now. You have to install required SSL Certificate from trusted Certificate Authorities when you want to use it on Web server and globally.

    Comment

    Working...