-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgresql 9.x can't start due to missing SSL certificates #106
Comments
Same situation here on Ubuntu 12.04. |
Also on Ubuntu 12.04, Postgres 9.3. I have a similar fix: node.default["postgresql"]["config"]["ssl_cert_file"] = "/etc/ssl/certs/ssl-cert-snakeoil.pem" Based on: https://github.com/escobera/chef-postgresql/commit/4be67561ecb4949d1930980d5fc5c8e90fa03c47 |
We should add these to default attributes. Done in pull request. |
Is this still an issue? It looks like this was solved with #116 |
@michaelkirk Yes it was solved with pull request #116. The issue can be closed. |
Resolved. Closing. |
only turn rewrite on once
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The attributes file sets ssl=on in the postgresql.conf file, but it does not create a server.key and server.pem file in the data directory. I am on Debian, so my previous fix has been to recreate the server.key and server.pem symlink to the apppropriate snakeoil files in /etc/ssl. Now I add the ssl_cert_file and ssl_key_file attributes to the environment to point to the /etc/ssl snakeoil files.
The text was updated successfully, but these errors were encountered: