Changes

Jump to navigation Jump to search
137 bytes added ,  07:06, 12 June 2017
Line 28: Line 28:  
# Generate Self-Signed Certificate
 
# Generate Self-Signed Certificate
 
#:<source lang="bash">openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</source>will generate a temporary certificate which is good for 365 days
 
#:<source lang="bash">openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</source>will generate a temporary certificate which is good for 365 days
# Installing the Private Key and Certificate
+
 
 +
== Generate self signed certificate one line ==
 +
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
 +
 
 +
== Installing the Private Key and Certificate ==
 
#* Apache:
 
#* Apache:
 
## Copy server.crt and server.key to apache conf ssl path chmod 640 to .key and 644 to .crt
 
## Copy server.crt and server.key to apache conf ssl path chmod 640 to .key and 644 to .crt

Navigation menu