Apache and OpenSSL

Discussion in 'Apache' started by cancer10, Oct 10, 2008.

  1. #1
    Hi,

    I downloaded Win32 Binary including OpenSSL 0.9.8h (MSI Installer) from http://httpd.apache.org/download.cgi

    I installed Apache on my local server (127.0.0.1) and see a success message when I navigate through http://127.0.0.1 or http://localhost on my browser.

    But it does not work when I type https://127.0.0.1 or https://localhost

    The MSI installer came with OpenSSL but why does not the https link work?

    Do I have to make some changes under apache if yes what would that be?

    A step-by-step tutorial will be helpful

    Thanx in Advance :)
     
    cancer10, Oct 10, 2008 IP
  2. Kionic.com

    Kionic.com Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is just a hint, not a complete instruction set: https won't just work by default. You would need to generate a certificate and install for https to work.
     
    Kionic.com, Oct 10, 2008 IP
  3. genius24k

    genius24k Active Member

    Messages:
    114
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    You need to create a certificate, and CA, Openssl comes with this tool on linux tarball don't know about windows, anyway then you have to edit ssl.conf with the certificate geenrated which is located under where your apache configuration file is, then restart apache it will probabaly ask you for a pass phrase enetr whatever you use to egenerate the certifficate.
     
    genius24k, Oct 10, 2008 IP
  4. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    cancer10, Oct 10, 2008 IP