EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Certificate Validation Error

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 02/23/2016 10:36:11
by Darren Dickerson (Basic support level)
Joined: 02/23/2016
Posts: 1

I have a problem where if the connection is broken while making a call to a secure server results in a validation error. That is fine. After I reconnect the certificates are always invalid until I stop the app and restart. Is there a way to clear that certificate out if it fails?

Posted: 02/23/2016 10:39:46
by Eugene Mayevski (EldoS Corp.)

The result of certificate validation is cached, that's why the certificate is invalid. To reset the cache you need to call a class (static) method TElX509Certificate.ResetCertificateCache(). Class methods don't need an instance of the class to be called.

Sincerely yours
Eugene Mayevski



Topic viewed 986 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!