Skip to content

Instantly share code, notes, and snippets.

@BenSlabbert
Created January 13, 2021 14:17
Show Gist options
  • Save BenSlabbert/207808580f3948a9f59eafc192220a71 to your computer and use it in GitHub Desktop.
Save BenSlabbert/207808580f3948a9f59eafc192220a71 to your computer and use it in GitHub Desktop.
mysql ssl connection with rds
#!/bin/bash
curl -O https://s3.amazonaws.com/rds-downloads/rds-ca-2019-eu-central-1.pem
mysql -h DB_HOST -u USER_NAME -p --ssl-ca=/rds-ca-2019-eu-central-1.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment