SSL Problem

I'm running Ubuntu 9.1.0, and for some reason, I just installed phpmyadmin, and whenever I go to "https://mysite.com/phpmyadmin", it says:

Secure Connection Failed

An error occurred during a connection to mysite.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

I'm a total noob, so I have no idea what's going on, nor how to fix it. I've googled this, but I haven't come up with a solution. Can anyone help?

Also, if it helps, I have not pointed my domain name toward the nameservers yet. I'm trying to get phpmyadmin up and running before I do that.

4 Replies

Sounds like your SSL isn't configured properly check your apache error log, also I assume even though you haven't updated your nameservers you have set dns so mysite.com points to your new linode?

Alright, so I checked my log, and here's what it says:

[Mon Apr 26 00:30:32 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 26 00:30:32 2010] [warn] RSA server certificate CommonName (CN) `Zowayixx' does NOT match server name!?

Any help on this? =/

EDIT: Okay, so I went into my /etc/apache2/ports.conf and changed NameServer 12.34.56.78:80 to 12.34.56.78:443 added Listen 443, went into /etc/apache2/sitesavailable/default and changed VirtualServer 12.34.56.78:80 to VirtualServer 12.34.56.78:443, and went into /etc/apache2/sitesavailable/mywebsite.com and changed VirtualServer 12.34.56.78:80 to VirtualServer 12.34.56.78:443.

Still nothing. Any help? :?

Regenerate your certificate. The CommonName is the FQDN of your server as it is seen from the Internet, not your personal name/alias.

Okay, so I tried two things so far, neither of which worked. I still keep getting the error. Here is what I tried for the Common Name:

mysite.com
https://mysite.com

Any help on this one? =/

EDIT: Also, I do not have the domain pointing toward the nameservers. Would that be a problem?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct