Quantcast
Channel: Life Scaling » LAMP
Viewing all articles
Browse latest Browse all 10

ERROR 2026 (HY000): SSL connection error — The Solution

$
0
0

If you’re using mysql server with SSL, and ever encountered this error whenever you try to access the database after it’s running:

ERROR 2026 (HY000): SSL connection error

One thing to check is if your client certificate and server certificate have the same common name. You’ve probably went through the certificate generation procedure, and (like I did) just entered the same common name for both without noticing.

This is a nasty error message that doesn’t tell you anything, and there’s nothing in the error log to imply what went wrong. So remember – when generating your own certificates for a mysql server, use different common names for client and server!


Viewing all articles
Browse latest Browse all 10

Trending Articles