windows default keyfile location is
%APPDATA%\postgresql\root.
this can be overridden by environment variables.
Main Topics
Browse All TopicsI'm Windows desktop application developer and have been working on client/server application with Postgresql as database. I would like to implement SSL connection with my application.
I really want to know:
1. How to implement OpenSSL on my Postgresql server ? (install & configure)
2. What thing my application need to provide ?, currently I'm developing under Delphi with TUniDAC, db query for Postgresql, I suspect it has to be key file that must provided to connect SSL.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
it seems postgresql already generated one, but to test it I have change postgresql.conf :
ssl = on # (change requires restart)
ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@
# (change requires restart)
password_encryption = on
so it will accept SSL connection, but then when I test with my application, it still can connect using no ssl. Is there anyway to make postgresql ONLY accept ssl connection ?
how about pg_hba_conf ?
hostssl database user IP-address IP-mask auth-method [auth-option]
Info:
http://www.postgresql.org/
Business Accounts
Answer for Membership
by: earthman2Posted on 2009-09-06 at 02:08:04ID: 25269228
http://www.postgresql.org/ docs/curre nt/static/ ssl-tcp.ht ml docs/curre nt/static/ libpq-ssl. html tgresql.cr t
http://www.postgresql.org/
keyfile would need to be at
%homepath%\.postgresql\pos