Diferencia entre revisiones de «OpenSSL»
De gacq wiki
(Página nueva: <pre> openssl genrsa 2048 > /etc/ssl/private/`hostname`.key openssl req -new -key /etc/ssl/private/`hostname`.key -x509 -days 9999 -out /etc/ssl/certs/`hostname`.cert </pre>) |
|||
Línea 1: | Línea 1: | ||
− | |||
<pre> | <pre> | ||
openssl genrsa 2048 > /etc/ssl/private/`hostname`.key | openssl genrsa 2048 > /etc/ssl/private/`hostname`.key | ||
+ | chmod 640 /etc/ssl/private/`hostname`.key | ||
openssl req -new -key /etc/ssl/private/`hostname`.key -x509 -days 9999 -out /etc/ssl/certs/`hostname`.cert | openssl req -new -key /etc/ssl/private/`hostname`.key -x509 -days 9999 -out /etc/ssl/certs/`hostname`.cert | ||
</pre> | </pre> |
Revisión del 00:25 23 jul 2008
openssl genrsa 2048 > /etc/ssl/private/`hostname`.key chmod 640 /etc/ssl/private/`hostname`.key openssl req -new -key /etc/ssl/private/`hostname`.key -x509 -days 9999 -out /etc/ssl/certs/`hostname`.cert