Archived Forum Post

Index of archived forum posts

Question:

Validation of SSL certificates (PEM format)

Nov 07 '13 at 11:38

Hello, I have problems validating certificates (PEM format) loaded using CkCert::LoadFromFile. I have a valid certificate that I corrupt by appending to it some garbage characters. I check using openssl x509 that it is not valid. When I try to load the certificate to open an SSL connexion, the method LoadFromFile returns true, and I did not find any method in the CkCert interface to verify that a certificate is valid. I also have the same issue when checking the server certificate, I need to validate that it is valid, even if Chilkat successfully created the CkCert object.

Is there a way to validate the CkCert objects?

Regards,


Answer

Please show an example of the PEM contents and what was added..