Changes

Jump to navigation Jump to search
382 bytes added ,  19:05, 11 February 2018
Line 37: Line 37:  
* Create the root key
 
* Create the root key
 
  openssl genrsa -out rootCA.key 4096
 
  openssl genrsa -out rootCA.key 4096
 +
* self-sign this certificate
 +
openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.pem
 +
* Generate a certificate for each service and sign it with your root CA
 +
openssl genrsa -out flirt.key 4096
 +
openssl req -new -key flirt.key -out flirt.csr
 +
openssl x509 -req -in flirt.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out flirt.crt -days 500 -sha256
    
== Generate self signed certificate one line ==
 
== Generate self signed certificate one line ==

Navigation menu