• Anirudh Mangipudi's avatar
    Bug#16715064 MYSQL COMMUNITY UTILITIES CANNOT CONNECT TO MYSQL ENTERPRISE · 634bb833
    Anirudh Mangipudi authored
    WITH SSL ENABLED
    Problem:
    It was reported that MySQL community utilities cannot connect to a MySQL
    Enterprise 5.6.x server with SSL configured. We can reproduce the issue
    when we try to connect an MySQL Enterprise Server with a MySQL Client with
    --ssl-ca parameter enabled.
    We get an ERROR 2026 (HY000): SSL connection error: unknown error number.
    
    Solution:
    The root cause of the problem was determined to be the difference in handling
    of the certificates by OpenSSL(Enterprise) and yaSSL(Community). OpenSSL expects
    a blank certificate to be sent when a parameter (ssl-ca, or ssl-cert or ssl-key)
    has not been specified.On the other hand yaSSL doesn't send any certificate and 
    since OpenSSL does not expect this behaviour it returns an Unknown SSL error.
    The issue was resolved by yaSSL adding capability to send blank certificate when
    any of the parameter is missing.
    634bb833
client-keyEnc.pem 1.71 KB