Kiss Gábor schrieb:
Dear Everybody,

May I get some help about the following problem:

Is there a function to get information about my own certificate?

I would like to get the common name from my own certificate being in the SSL object.
Is there a function for this probleme or can anybody suggest a solution?

Thank you for your kindness.

Gabor KISS

If you want to do it manually try openssl x509 -in <yourcert> -noout -subject If you want to use the library have a look at the source code in apps\x509.c. The relevant fuction to call is X509_get_subject_name.

Hope it helps.
Ted
;)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to