The certificate could not be verified.

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jojoimp
Posts: 2
Joined: Sun 19 Mar 2017 00:19

The certificate could not be verified.

Post by jojoimp » Sun 19 Mar 2017 00:28

Connecting to SQL Server returns "The certificate could not be verified." it appears when I install apk and run the app. What is the cause of this? Running same app on Win32 has no problem.

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: The certificate could not be verified.

Post by azyk » Tue 21 Mar 2017 10:27

To solve the problem before establishing a connection set TUniConnection.SpecificOptions.Values['SQL Server.TrustServerCertificate'] to 'True'.

jojoimp
Posts: 2
Joined: Sun 19 Mar 2017 00:19

Re: The certificate could not be verified.

Post by jojoimp » Sun 26 Mar 2017 03:59

Still not working. Does the UniDac use SSL protocol? I'm reading some article about SQL Server Certificate maybe this is a requirement in order for client to connect to DB. I'm using SQL 2005 Express Ed and UniDAC Direct.

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: The certificate could not be verified.

Post by azyk » Tue 25 Apr 2017 06:13

We fixed this issue. This fix will be included in the next UniDAC build. If you want to get this fix before the next UniDAC build, please send the version of RAD Studio you are using to the contact form on our website http://www.devart.com/company/contactform.html and we will send you a night build.

Post Reply