SSL Enabled How To ?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
munggaran
Posts: 18
Joined: Sat 11 Apr 2009 08:50

SSL Enabled How To ?

Post by munggaran » Mon 13 Jul 2009 12:20

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

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 14 Jul 2009 08:10

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

munggaran
Posts: 18
Joined: Sat 11 Apr 2009 08:50

Post by munggaran » Tue 14 Jul 2009 08:22

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 ?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 14 Jul 2009 08:58

You can place certificates in the folder with your application or in any other folder.

Post Reply