UniDac SSL with SecureBridge

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
InfoMeteoryt
Posts: 2
Joined: Tue 12 May 2015 07:39

UniDac SSL with SecureBridge

Post by InfoMeteoryt » Tue 12 May 2015 07:57

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: UniDac SSL with SecureBridge

Post by ViktorV » Tue 12 May 2015 13:04

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.

InfoMeteoryt
Posts: 2
Joined: Tue 12 May 2015 07:39

Re: UniDac SSL with SecureBridge

Post by InfoMeteoryt » Thu 14 May 2015 13:46

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: UniDac SSL with SecureBridge

Post by ViktorV » Fri 15 May 2015 10:08

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'

Post Reply