Search Postgresql Archives

SSL error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux