Page 1 of 1

UniDac SSL with SecureBridge

Posted: Tue 12 May 2015 07:57
by InfoMeteoryt
Hello,
I am at your product: UniDAC SecureBridge 6.1.3 and 6.5. I want to use these components to connect to a remote database located on a server mode SSL. How to do it? I can not find a good example.

When I use the same component UniDAC - uniConnection and define: CA SSL Cert SSL and SSL Cert Key - I can connect to the database. How to "spoil" key file - also to connect something I'm doing wrong - but I do not know what? please help

Best Regards

Re: UniDac SSL with SecureBridge

Posted: Tue 12 May 2015 13:04
by ViktorV
You can see an example of UniDAC and SecureBridge co-working using SSL in the demo projects: %UniDACDemos%\TechnologySpecific\SecureBridge\Demo\SSL, where %UniDACDemos% is the UniDAC Demo projects installation path on your computer.
For more information, please read the %UniDACDemos%\TechnologySpecific\SecureBridge\Readme.html file, where %UniDACDemos% is the UniDAC Demo projects installation path on your computer.
If after reading you still have any specific questions, please ask and we will answer them.

Re: UniDac SSL with SecureBridge

Posted: Thu 14 May 2015 13:46
by InfoMeteoryt
Thank you very much.

I have another question: how to check that the connection is encrypted?
even though the SSL CA Certificate is given Client and Client Cert Key - is empty, and like it connects to the base. I wonder whether it is really active SSL connection or open ... I have the impression that this is an open connection.

Best Regards.
Andrzej

Re: UniDac SSL with SecureBridge

Posted: Fri 15 May 2015 10:08
by ViktorV
You can determine whether the current connection with the server uses SSL by checking the value of the Ssl_cipher status variable. The value is nonempty if SSL is used, and empty otherwise.
For example:

Code: Select all

SHOW STATUS LIKE 'Ssl_cipher'