I want to set up an Encrypted connection from my Ubuntu Server to an Aurora Serverless MySQL with engine version 5.7, however SSL seems to be disabled on the service by default.
show variables like '%ssl%';
| Variable_name | Value
| have_openssl | DISABLED |
| have_ssl | DISABLED
This is unlike Aurora RDS where using SSL is pretty straightforward and enabled by default.
This is the error:
mysql -h <cluster-endpoint> -u <username> -p --ssl-ca=rds-ca-2019-us-east-1-bundle.pem
Enter password:
ERROR 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1)
Mysql client version
mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64) using EditLine wrapper
Parameter Group settings are default.
The error seems to be similar to the ones addressed here but the message is completely different.
https://aws.amazon.com/premiumsupport/knowledge-center/rds-error-2026-ssl-connection/
The TLS/SSL for Serverless documentation seems to suggest the usage is basically the same for RDS and Serverless.
I am pretty much a Database Noob, any troubleshooting help would be appreciated.