Page 1 of 1

SSL Enabled How To ?

Posted: Mon 13 Jul 2009 12:20
by munggaran
Hi (again, hehe..)

I'm using UniDAC to connect postgreSQL with my app.
Where I can find demo/documentation to read about SLL enabled app ?

Regards,
Eldi Munggaran

Posted: Tue 14 Jul 2009 08:10
by Plash
You should assing values to SSLCACert, SSLCert, SSLKey, and SSLMode in SpecificOptions of TUniConnection.

Currently these options are not described in the help. We'll add such description in the next UniDAC build.

SSLCACert holds the pathname to the certificate authority file. Normally it should be C:\Documents and Settings\\Application Data\postgresql\root.crt

SSLCert holds the pathname to the certificate file. Normally it should be C:\Documents and Settings\\Application Data\postgresql\postgresql.crt

SSLKey holds the pathname to the key file. Normally it should be C:\Documents and Settings\\Application Data\postgresql\postgresql.key

Posted: Tue 14 Jul 2009 08:22
by munggaran
It seems this only working for specific user, if I'm going to deliver my application so it can be work in multi user environment, where I suppose to store the certificate ?

Posted: Tue 14 Jul 2009 08:58
by Plash
You can place certificates in the folder with your application or in any other folder.