Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
Mysql ssl connection handshake error with specific ciphers

I am trying to establish an SSL connection to MySQL (https://github.com/mysqljs/mysql#ssl-options) with Sequelize Dialect options (https://sequelize.org/docs/v6/other-topics/dialect-specific-things/) defined below:

dialectOptions: {
      ssl: {
        ca: fs.readFileSync(`${__dirname}/rds-combined-ca-bundle.pem`),
        ciphers: someTLSCiphers,
        minVersion: 'TLSv1.2',
      },
}

This doesn't work for me. I need to pass specific ciphers in the TLS and while I am able to setup a SSL connection with the below option, this doesn't satisfy my need to use these specific ciphers.

dialectOptions: {
  ssl: 'Amazon RDS'
}

I get this error message:

"error":"{\"name\":\"SequelizeConnectionError\",\"parent\":{\"library\":\"SSL routines\",\"function\":\"ssl3_read_bytes\",\"reason\":\"sslv3 alert handshake failure\",\"code\":\"HANDSHAKE_SSL_ERROR\",\"fatal\":true},\"original\":{\"library\":\"SSL routines\",\"function\":\"ssl3_read_bytes\",\"reason\":\"sslv3 alert handshake failure\",\"code\":\"HANDSHAKE_SSL_ERROR\",\"fatal\":true}}","level":"error","message":"Application failed to start due to error: 139893326490440:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1543:SSL alert number 40\n"

Can someone help me with this?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!