Renew a self-signed cert http://www.togaware.com/linux/survivor/Renew_SSL.html openssl x509 -req -days 365 -in file.csr -signkey file.key -out file.crt cat file.key file.crt > file.pem