Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 10.2 Tokyo / VCL REST Components / Ignore Verifying the SSL Certificate

Status
Not open for further replies.

ResonantEcho

Programmer
Aug 17, 2010
24
US
Several months ago I developed an application with Delphi 10.2 Tokyo using the VCL REST components. Up until this point a certificate check wasn't necessary.

Is there a way to disable the certificate check? It doesn't appear the client or request component has a property to toggle this on and off. However, I see this event:

TRESTClient.OnValidateCertificate

Eventually when the testing phase is complete on the new server and an activated certificate is in place it will have to be verfied. I'm assuming it can be done with same event? Has anyone done this with the VCL REST components and this particular event? Or something else that worked?

I know this can easily be done with some of the other HTTP components, but this application has been in production for several months. I don't have the time to rewrite it with different components, test, etc.

Thank you in advance.


// ResonantEcho
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top