The first command is to show the content of the PEM-formated certificate The second command is to convert the certificate The third command is to show the content of the DER-formated certificate
Ajeet kumar.S schrieb: > Dear All; > Thank you Marek Marcola for your help.I tried your suggestion. I got out put > but it displayed in command window. But I want to save it in form of file > .crt. Please advice me on that also. > > > Thank you. > > Regards, > > --Ajeet Kumar Singh > > > > Sarve Bhavantu Sukhina ,Sarve Santu NiramayaSarve Bhadrani Pashyantu , Maa > Kaschit Dukha Bhagh Bhavet > > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, September 24, 2008 7:00 PM > To: openssl-users@openssl.org > Subject: RE: .der to .crt file conversion > > Hello, > > [EMAIL PROTECTED] wrote on 09/24/2008 03:19:20 PM: > >> Dear All, >> Thank you Vineeta for your help. >>> hi.. >>> you can simply rename the .pem format to .crt. It will work fine.. >> As above you mention conversion from .pem to .der but .PEM format > having >> only certificate having like given below: >> >> -----BEGIN CERTIFICATE----- >> ------------------ >> ----------------- >> ----------------- >> >> -----END CERTIFICATE----- >> But .der format having some more other information so I thing just > renaming >> is not correct way. > > $ openssl x509 -in crt.pem -text -noout > $ openssl x509 -in crt.pem -outform der -out crt.der > $ openssl x509 -in crt.der -inform der -text -noout > > Best regards, > -- > Marek Marcola <[EMAIL PROTECTED]> > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]