| From: | AI Rumman <rummandba(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
| Subject: | SSL error |
| Date: | 2010-05-04 10:50:43 |
| Message-ID: | s2m2a7905441005040350m2d345a0clf1e5be838146a44a@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I have created server.crt and server.key using the Postgresql documentation.
Followings are the commands:
-------------------------------------------
openssl req -new -text -out server.req
openssl rsa -in privkey.pem -out server.key
rm privkey.pem
openssl req -x509 -in server.req -text -key server.key -out server.crt
chmod og-rwx server.key
-------------------------------------------
Mdified
SSL=on at postgresql.conf and restarted the server.
But when I am trying to connect I get the following error:
FATAL: no pg_hba.conf entry for host "10.0.0.34", user "postgres",
database "postgres", SSL off
Please tell me why I get this error.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thom Brown | 2010-05-04 11:03:07 | Re: SSL error |
| Previous Message | Thom Brown | 2010-05-04 09:56:28 | Re: postgresql ssl |