If you have the base64 cert in your file system, just do this:

openssl x509 -in cert.pem -inform PEM -noout -subject
openssl x509 -in cert.pem -inform PEM -noout -issuer

Hope this helps. Let us know.

Ambarish.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kaushal Shriyan
Sent: Wednesday, October 25, 2006 12:53 PM
To: openssl-users@openssl.org
Subject: Re: How to check if the certificate is self signed


On 10/25/06, Ambarish Mitra <[EMAIL PROTECTED]> wrote:
> If the subject and issuer are the same, then the cert is self-signed.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bhat, Jayalakshmi
> Manjunath
> Sent: Wednesday, October 25, 2006 12:45 PM
> To: openssl-users@openssl.org
> Subject: How to check if the certificate is self signed
>
>
> Hi All,
>
>   How do I check if the given certificate is self-signed?
>
> Thanks and Regards,
> Jaya
>
>
>
Hi Ambarish

Thanks for the reply
How do i check the subject and the issuer of the self signed certificate

Thanks and Regards

Kaushal


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to