Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a certificate for local development with SSL?

Tags:

ssl

apache

lamp

I am currently doing local development on a webproject using a LAMP stack. Since my production application will be using https for login, I'd like to be able to mimic this in my local dev environment so that all the url's remain consistent. I am new to ssl certificates so could anyone please point me to some reference on how to do this? Would I need to sign my own certificate? Where do I put the certificate (I have virtualhost configurations using apache)? Thanks.

like image 607
oym Avatar asked Jul 30 '09 00:07

oym


People also ask

Can we create your own SSL certificate?

A private key and certificate signing request are required to create an SSL certificate. These can be generated with a few simple commands. When the openssl req command asks for a “challenge password”, just press return, leaving the password empty.


1 Answers

I'm new here but go to this site and the information there

Creating a self signed Certificate

like image 178
bschuster Avatar answered Oct 05 '22 10:10

bschuster