ssl/certs.txt
author Tomas Zeman <tzeman@volny.cz>
Tue, 12 Nov 2013 16:06:45 +0100
changeset 35 1c1f40be923d
parent 25 98114857acb3
child 37 889dfa7eace0
permissions -rw-r--r--
freebsd/ssh-vpn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25
98114857acb3 ssl/certs.txt: cert renewal
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
Renew a self-signed cert
98114857acb3 ssl/certs.txt: cert renewal
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     2
http://www.togaware.com/linux/survivor/Renew_SSL.html
98114857acb3 ssl/certs.txt: cert renewal
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     3
98114857acb3 ssl/certs.txt: cert renewal
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     4
openssl x509 -req -days 365 -in file.csr -signkey file.key -out file.crt
98114857acb3 ssl/certs.txt: cert renewal
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     5
cat file.key file.crt > file.pem