Help: Could not establish an encrypted connection because certificate presented... Error Code: -8182

this is the solution to the error that says Could not establish an encrypted connection because certificate presented... Error Code: -8182

ERROR: Could not establish an encrypted connection because certificate presented by localhost is invalid or corrupted. Error Code: -8182

If for some reason you are getting this error when you are using firefox: execute the following commands at the shell command in your linux distribution. You wont get this error with Internet Explorer. Instead, Internet explorere just display a blank page after the installation of your ispconfig. Another plus for Firefox. I was using red had / Fedora when I got this error. Not sure if it will work with others such as SUSE, Mandrake, FreeBSD, Debian, etc..

Please note this this only applies to installations of ispconfig. If you are having trouble installing a vendor SSL Certificate, I suggest you contact them for support. But if you are getting this because of your ispconfig installation, then follow these five ( 5 ) command: Please note, each table is one command, I don't have enough room in this post for one line)

1

openssl genrsa -des3 -passout pass:yourpassword -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024

2

openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365

3

openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365

4

openssl rsa -passin pass:yourpassword -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key

5

chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key


Once you have executed these five steps, restart ispconfig with the following comman:

/etc/init.d/ispconfig_server restart 

then go back to your firefox browser and refesh the page. This time you shouldn't get this error anymore, It worked for me.

8832 - Sat Feb 02, 2013 22:11:24