Hi Consultant,
3x things to point out about this tutorial:
Firstly, instead of:
DocumentRoot = /usr/share/squirrelmail
ServerName = mail.acme.local:443
it needs to read:
DocumentRoot /usr/share/squirrelmail
ServerName mail.acme.local:443
i found that httpd would not restart until this change was made, throwing up an error of: Syntax error on line 4 of /etc/httpd/conf.d/ssl.conf: DocumentRoot takes one argument, Root directory of the document tree [FAILED]
–
Next, one needs the following two lines at the top of their ssl.conf file:
LoadModule ssl_module modules/mod_ssl.so
Listen 443
Otherise, httpd doesn't know what SSLCertificateFile is, and again it won't start. The syntax error is: "Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server configuration"
–
Finally, I'm still getting the following error when trying to connect to my site:
(Error code: ssl_error_rx_record_too_long)
Any thoughts on what to do? in telnet it looks like ssl is running ok in psotfix and dovecot. My ssl.conf file looks like this:
LoadModule ssl_module modules/mod_ssl.so
Listen 443
DocumentRoot /usr/share/squirrelmail
ServerName mail.my.fqdn.name:443
SSLCertificateFile /etc/pki/tls/certs/mail.my.fqdn.name.cert
SSLCertificateKeyFile /etc/pki/tls/private/mail.my.fqdn.name.key
been racking my brain about this for a few days, so hope you can help. Cheers, Scott.