jueves, 21 de junio de 2007

Nota Mental: renovando SSL


cd /etc/apache-ssl
openssl genrsa -out www.euhq.org.key 1024
chmod 600 www.euhq.org.key
openssl req -new -key www.euhq.org.key -out www.euhq.org.csr
openssl x509 -req -days 730 -in www.euhq.org.csr -signkey www.euhq.org.key -out www.euhq.org.crt
mv apache.pem apache.pem.old
cp www.euhq.org.key apache.pem
cat www.euhq.org.crt >> apache.pem
chmod 600 apache.pem
/etc/init.d/apache-ssl restart

No hay comentarios:

Publicar un comentario