SSL самиздат

By 09/08/2010Apache, CentOS, Kadmin

SSL сертификат на год для веб сервера

openssl genrsa -out localhost.key 2048
openssl req -new -key localhost.key -out localhost.csr
openssl x509 -req -days 365 -in localhost.csr -signkey localhost.key -out localhost.crt
mv localhost.crt /etc/pki/tls/certs
mv localhost.key /etc/pki/tls/private
mv localhost.csr /etc/pki/tls/private
service httpd restart


или (CentOS 6)

genkey www.example.com
nano /etc/httpd/conf.d/ssl.conf

Leave a Reply

*