I have RDS proxy setup with ssl required. I am trying to connnect to RDS proxy with mysql client like
mysql -h host -u user -p"password" --ssl_ca=global-bundle.pem
I am getting below error,
ERROR 2026 (HY000): TLS/SSL error: unable to get local issuer certificate
Below is the IAM policy ,
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "secretsmanager:GetSecretValue",
"Resource": [
"arn:aws....arn"
]
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "kms:Decrypt",
"Resource": "aws managed key arn",
"Condition": {
"StringEquals": {
"kms:ViaService": "secretsmanager.us-west-2.amazonaws.com"
}
}
}
]
}
If I disable SSL, it works. Not sure what is missing here. Please advice.