There are a couple of typos, I think. The certificates generated are called postgresql.{key,crt} but the Dockerfile refers to them as server.{key,crt}
Thanks a lot Neil!, fixed.
CMD [ "-c", "ssl=on" , "-c", "ssl_cert_file=/var/lib/postgresql/server.crt",
needs to be:
CMD [ "-c", "ssl=on" , "-c", "ssl_cert_file=/var/lib/postgresql/postgresqldb.crt",
and,
"ssl_key_file=/var/lib/postgresql/server.key", "-c",\
"ssl_key_file=/var/lib/postgresql/postgresqldb.key", "-c",\
thank you for putting this together - certstrap helped save a lot of time also - much appreciated. :-)
Actually its postgresdb., but thanks a lot Richard. I've fixed that also.
Almost a year i wrote this. Need to put out something on cryptography again!
lol - my bad - it's so easy to mess up. :-)
...i wrote it correctly in the Containerfile - so... i don't know what's wrong with me today.
Haha, i was asking myself the same thing after reading your comment.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There are a couple of typos, I think. The certificates generated are called postgresql.{key,crt} but the Dockerfile refers to them as server.{key,crt}
Thanks a lot Neil!, fixed.
needs to be:
and,
needs to be:
thank you for putting this together - certstrap helped save a lot of time also - much appreciated. :-)
Actually its postgresdb., but thanks a lot Richard. I've fixed that also.
Almost a year i wrote this. Need to put out something on cryptography again!
lol - my bad - it's so easy to mess up. :-)
...i wrote it correctly in the Containerfile - so... i don't know what's wrong with me today.
Haha, i was asking myself the same thing after reading your comment.