By Riccardo, 1 year and 2 months ago
Rinnovare certificato ssl Apache
Attenzione: questo articolo è stato pubblicato nel 2007. E' molto probabile che le informazioni in esso contenute non siano più valide. Utilizzare il motore di ricerca (o sfogliare gli archivi) per argomenti più aggiornati
Questa mattina mi son trovato con il certificato «dell'apache aziendale» scaduto; ecco come ho risolto.
Da terminale, su una Ubuntu 7.04:
- $ sudo bash
- -password-
# cd /etc/apache2/ssl
- # openssl genrsa -out server.key 1024
- # chmod 600 server.key
- # openssl req -new -key server.key -out server.csr
- # openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
- # mv apache.pem apache.pem.old
- # cp server.key apache.pem
- # cat server.crt >> apache.pem
- # chmod 600 apache.pem
- # /etc/init.d/apache2 restart
Fonte: gurulabs.it
Write a comment
If you want to add your comment on this post, simply fill out the next form:
* Required fields
You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>.
No comments
Be the first to write a comment on this post.
No trackbacks
To notify a mention on this post in your blog, enable automated notification (Options > Discussion in WordPress) or specify this trackback url: http://www.linuxchronicles.com/linux/rinnovare-certificato-ssl-apache/trackback/