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:

  1. $ sudo bash
  2. -password-

  3. # cd /etc/apache2/ssl

  4. # openssl genrsa -out server.key 1024
  5. # chmod 600 server.key
  6. # openssl req -new -key server.key -out server.csr
  7. # openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
  8. # mv apache.pem apache.pem.old
  9. # cp server.key apache.pem
  10. # cat server.crt >> apache.pem
  11. # chmod 600 apache.pem
  12. # /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/