ssl/certs.txt
changeset 37 889dfa7eace0
parent 25 98114857acb3
equal deleted inserted replaced
36:d65b324282f0 37:889dfa7eace0
       
     1 http://www.togaware.com/linux/survivor/Renew_SSL.html
       
     2 
       
     3 Generate key
       
     4 
       
     5 openssl genrsa -out file.key 1024
       
     6 openssl req -new -key file.key -out file.csr
       
     7 
     1 Renew a self-signed cert
     8 Renew a self-signed cert
     2 http://www.togaware.com/linux/survivor/Renew_SSL.html
       
     3 
     9 
     4 openssl x509 -req -days 365 -in file.csr -signkey file.key -out file.crt
    10 openssl x509 -req -days 365 -in file.csr -signkey file.key -out file.crt
     5 cat file.key file.crt > file.pem
    11 cat file.key file.crt > file.pem