Fix Could Not Establish An Encrypted Connection Because Certificate

Forums » Linux Hosting » Fix Could Not Establish An Encrypted Connection Because Certificate
This Page Contains information about Fix Could Not Establish An Encrypted Connection Because Certificate By stalionboy in category Linux Hosting with 6 Replies. Last Upated: Thu May 15, 2014
p50-20070712-10659-8182-error.jpg
I am getting this error every time i try to access my control panel:

Could not establish an encrypted connection because certificate presented... Error Code: -8182
stalionboy
The reason you are getting this error is because your SSL Certificate may be corrupted. Rebuild it by executing the following 5 commands in the order provided.

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

CODE:
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

CODE:
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

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

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

Now restart your ISPConfig
CODE:
/etc/init.d/ispconfig_server restart
stalionboy
Thank you for your quick reply.

I followed the steps and it worked like a charm, I am not getting this error anymore with my firefox browser.

It was weird, I was not seeing this error with Internet Explorer, only with firefox. With Explorer I was not getting anything, not even an error, just a blank page. It works now on both browser now

Thanks again
ispconfig
thank i was having this same issue after i re-installed ispconfig
ispconfig
after i did your commands i got this:
crazyjoe
you can get alot more error, i've see other also encrypted connections but not like this one, i think firefox fixed it or maybe you need to update your ispconfig now
http://wallpaperama.com/forums/fix-could-not-establish-an-encrypted-connection-because-certificate-t50.html
webmaster
when i try to reboot, ispconfig i get these: is this ok?

[root at install_ispconfig]# /etc/init.d/ispconfig_server restart
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shutting down ispconfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
/root/ispconfig/httpd/bin/apachectl stop: httpd stopped
ispconfig system stopped!
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
starting ispconfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: no such file or directory
ispconfig system is now up and running!
Title: Fix Could Not Establish An Encrypted Connection Because Certificate [376]
Tags: fix could not establish an encrypted connection because certificate
By
Comments 6
Visits 1800