setting up an https connection on my localhost computer

Please i am trying to practice development of website that would run on https on my localhost webserver. But i dont know how to install my openssl. I have my own self signed certificate and openssl installer. Can some one give my practical steps to do this.

Just run the installer. That installs openssl.

To run through https you need to edit whatever you’re using for the webserver which you could prob find in its manual

The openssl folder that i downloaded is a zip file i hav extracted and it comes with no setup, but it as a bin, include, lib folder and a file named openssl.cnf. I think i am just supposed to copy and paste it in the wamp server. but i dont know exactly were I am to paste. If i am wrong please enlighten me.

This should help:
http://www.phpjoel.com/2011/04/07/installing-ssl-using-openssl-on-a-wamp-localhost/

Thanks alot for the link. But I am having problems signing my certificate with openssl. The message below is displayed. I am very sure that I am entering the rite commands.

This is the last command I enter after creating my csr file
openssl x509 -in webserver.csr -out webserver.cert -req -signkey webserver.key -days 365

Error message

Loading ‘screen’ into random state - done
Signature ok
subject=/C=NG/ST=Lagos state/L=Lagos/O=Jadoube systems limited/OU=IT unit/CN=jad
oube.com/[email protected]
Getting Private key
Error opening Private key webserver.key
4468:error:02001002:system library:fopen:No such file or directory:.\crypto\bio
bss_file.c:356:fopen(‘webserver.key’,‘rb’)
4468:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:35
8:
unable to load Private key

Sponsor our Newsletter | Privacy Policy | Terms of Service