Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3455054
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:34:01+00:00 2026-05-18T09:34:01+00:00

If someone can tell me what I’m doing wrong it’d be great. If not,

  • 0

If someone can tell me what I’m doing wrong it’d be great.

If not, I’ll settle for any other solution to goal.

I need to remotely insert mysql rows. And I want it to be secure. I’m writing it all in jruby. Thanks, here’s what I did so far,

I get a:

ERROR 2026 (HY000): SSL connection error

When remotely try to access it with ssl:

mysql -h host -u ssl_test -p –ssl-ca=ca-cert.pem

I can connect remotely just fine to a user without require ssl. (mysql -h host -u user -p)

I can also connect to this user locally with:

mysql -h host -u ssl_test -p –ssl-ca=ca-cert.pem

The ca-cert.pem are the same and the permissions for ssl_test is:

+--------------+----------------+----------+
| Host         | User           | ssl_type |
+--------------+----------------+----------+
| %            | ssl_test       | ANY      |

I generated the ca-cert and server-cert with:

openssl genrsa 2048 > ca-key.pem

openssl req -new -x509 -nodes -days 1000 -key ca-key.pem > ca-cert.pem

openssl req -newkey rsa:2048 -days 1000 -nodes -keyout server-key.pem > server-req.pem

openssl x509 -req -in server-req.pem -days 1000 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 > server-cert.pem

straight out of http://dev.mysql.com/doc/mysql-security-excerpt/5.0/en/secure-create-certs.html

I also tried creating the client stuff for x509 but it returns the same error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:34:01+00:00Added an answer on May 18, 2026 at 9:34 am

    I’ve finally figured it out actually. Apparently my client – 5.1.x is not compatible with a 5.0.77 mysqld (yum install).

    The only error message you get however, is ssl connection error.

    I also only found this out by connecting remotely to a ubuntu mysql server.

    I’m currently building a newer version of mysqld on my centos server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can someone tell me what i am doing wrong here.. i am not getting
I'm hoping someone can either tell me what I'm doing wrong correct my flawed
Can someone tell what is wrong with this query? sqltext = SELECT utyp, count(*)
I hope someone can tell me why I'm wrong. Here is a snippet of
I'm new here and I'm very stuck. I need help. Hopefully someone can tell
Can someone tell me what's wrong with this code? I'm trying to upload a
Can someone tell me how i can change the .xml file that a flash
Can someone tell me the different between LinkButton.PostBackUrl and HyperLink.NavigateUrl? I've got a asp.net
Can someone tell me how to change directories using FtpWebRequest? This seems like it
Can someone tell me what the code equivelant in VB.Net to this C# code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.