Last active
January 19, 2016 18:39
-
-
Save DuaneNielsen/8b5efa11191396b6e100 to your computer and use it in GitHub Desktop.
Update keys on postgres docker volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect postgres-data | |
cd /var/lib/docker/volumes/postgres-data/_data | |
cp -L /etc/letsencrypt/live/vixkings.com/fullchain.pem . | |
cp -L /etc/letsencrypt/live/vixkings.com/privkey.pem . | |
chmod 400 fullchain.pem | |
chmod 400 privkey.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the postgressql.conf, you already set
ssl = on
ssl_cert_file = 'fullchain.pem'
ssl_key_file = 'privkey.pem'