SSL Certificates with iRedMail: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "= SSL Certificates = I'm not going into specific details here. I use StartSSL certificates as they are free for private use.<br> '''Note''': I have noticed that if you try go...")
 
No edit summary
Line 20: Line 20:
SSLCertificateKeyFile /etc/pki/tls/certs/sogo.key
SSLCertificateKeyFile /etc/pki/tls/certs/sogo.key
SSLCACertificateFile /etc/pki/tls/certs/1_root_bundle.crt
SSLCACertificateFile /etc/pki/tls/certs/1_root_bundle.crt
</pre>
= Load SSL modules =
From linux shell
<pre>
a2enmod ssl
</pre>
</pre>


[[Category : iRedMail]]
[[Category : iRedMail]]

Revision as of 08:24, 3 October 2016

SSL Certificates

I'm not going into specific details here. I use StartSSL certificates as they are free for private use.
Note: I have noticed that if you try going to your WEB server and you get a blank page, I found this occurs when the SSL certificate does not match the certificate name or SAN on the certificate.

Certificate path location.

/etc/pki/tls/certs/
openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/certs/sogo.key -out /etc/pki/tls/certs/sogo.csr
vi /etc/httpd/conf.d/ssl.conf
SSLCertificateFile /etc/pki/tls/certs/2_mail.myserver.com.crt
SSLCertificateKeyFile /etc/pki/tls/certs/sogo.key
SSLCACertificateFile /etc/pki/tls/certs/1_root_bundle.crt

Load SSL modules

From linux shell

a2enmod ssl