Diferencia entre revisiones de «OpenSSL»
De gacq wiki
Línea 2: | Línea 2: | ||
openssl genrsa 2048 > /etc/ssl/private/`hostname`.key | openssl genrsa 2048 > /etc/ssl/private/`hostname`.key | ||
chmod 640 /etc/ssl/private/`hostname`.key | chmod 640 /etc/ssl/private/`hostname`.key | ||
+ | chown root:ssl-cert /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:53 23 jul 2008
openssl genrsa 2048 > /etc/ssl/private/`hostname`.key chmod 640 /etc/ssl/private/`hostname`.key chown root:ssl-cert /etc/ssl/private/`hostname`.key openssl req -new -key /etc/ssl/private/`hostname`.key -x509 -days 9999 -out /etc/ssl/certs/`hostname`.cert