login about faq

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,

This question is marked "community wiki".

asked Oct 23 '13 at 12:17

NBO's gravatar image

NBO
1111

edited Nov 07 '13 at 11:38


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

link

answered Oct 23 '13 at 12:29

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48

Asked: Oct 23 '13 at 12:17

Seen: 1,184 times

Last updated: Nov 07 '13 at 11:38

powered by OSQA