https certs
===========
Setp 1> Generate ssl certificates
#openssl genrsa -des3 -out hostname.key 1024
#openssl req -new -key hostname.key -out hostname.csr
#openssl x509 -req -days 365 -in hostname.csr -signkey hostname.key -out hostname.crt
step 2> Add Certificate to /etc/httpd/conf.d/ssl.conf
# vi /etc/httpd/conf.d/ssl.conf
(note: just remove comment "#" from SSLCertificate and add filename)
# Server Certificate:
SSLCertificateFile /etc/httpd/conf/cert/hostname.crt
# Server Private Key:
SSLCertificateKeyFile /etc/httpd/conf/cert/hostname.key
dovecot ssl certs
==================
Setp 1> Generate ssl certificates
#openssl genrsa -des3 -out /usr/share/ssl/private/dovecot.pem 2048
#openssl req -new -x509 -key /usr/share/ssl/private/dovecot.pem -out /usr/share/ssl/certs/dovecot.pem -days 1095
step 2> modify into /etc/dovecot.conf
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment