Stefan Westner wrote:
Thanks Jeremy

but I don't wanto to use a text editor just an openssl-command which extracts the key and write it to a file just like IE 5.5 does if you export a certificate from another person.

Could you help?

Sorry I'm a little busy at work... you should at least try using a text editor to verify my claims... then
if it works you could use sed, awk, perl, or even bash, or any command-line tool to separate the key part out.

Sorry but I don't have time to actually make a script to do this.

 

Thanks

Stefan Westner

Jeremy Jackson wrote:

Stefan Westner wrote:
Hello,

is it possible to extract a public key out of a pem/p7b-file and save it as
p7b?
 

Hmm... I combined a pem cert and pem RSA key with the cat command...
PEM is base64 encoded with a header and footer... just use a text editor
I think.
 
Thanks

Stefan Westner

______________________________________________________________________
OpenSSL Project                               http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

-- 
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517
 

-- 
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517
 

Reply via email to