Created
September 4, 2013 19:45
-
-
Save slyness/6441895 to your computer and use it in GitHub Desktop.
postgres ssl for NF
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
bev ssh to_host; | |
cut and paste as root. | |
cd /var/lib/postgresql/9.1/main/; | |
cp /etc/ssl/certs/ssl-cert-snakeoil.pem server.crt; | |
cp /etc/ssl/private/ssl-cert-snakeoil.key server.key; | |
chown postgres:postgres server*; | |
service postgresql start; | |
log out; | |
bev up to_host; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment