![]() Verify that SSL is now enabled on your RDS instance.Modify the force_ssl parameter to have value 1 and save.If you are using the default parameter group, you will need to create another parameter group, as you will not be able to edit the default one.Go to the Parameter Group screen on the dashboard.Via your RDS console, navigate to your instance details and note down the Parameter Group that it is using.How to connect to a remote PostgreSQL database with Python The new value should now be that this answer uses a root certificate there may be other options which may be what you want in which case refer to the following SO: Update your DATABASE_URL variable by adding ?sslrootcert=rds-combined-ca-bundle.pem&sslmode=require.Via the Heroku dashboard, navigate to heroku-app-stage, go to Settings tab, and click on Reveal Config Vars.Verify that the certificate has been uploaded into the expected path (you can do heroku run bash -app heroku-app-stage to see your files in the dyno)Ĭonfigure Heroku to refer to root certificate.Commit that file into your git repository, and push said commit into the Heroku remote ( git push stage master).Put the file into your app folders (make a note of location, I have placed it in my root folder with my. ![]() pem certificate file from the Amazon RDS link below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |