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 openss...@openssl.org
> Automated List Manager majo...@openssl.org
--
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517
--------------44967A5FAD6E39176C866F62
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Stefan Westner wrote:
<blockquote TYPE=CITE>Hello,
<p>is it possible to extract a public key out of a pem/p7b-file and save
it as
<br>p7b?
<br> </blockquote>
Hmm... I combined a pem cert and pem RSA key with the cat command...
<br>PEM is base64 encoded with a header and footer... just use a text
editor
<br>I think.
<blockquote TYPE=CITE>
<br>Thanks
<p>Stefan Westner
<p>______________________________________________________________________
<br>OpenSSL Project
<a href="http://www.openssl.org">http://www.openssl.org</a>
<br>User Support Mailing List
openss...@openssl.org
<br>Automated List Manager
majo...@openssl.org</blockquote>
<pre>--
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517</pre>
</html>
--------------44967A5FAD6E39176C866F62--
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org
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?
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
>> openss...@openssl.org
>> Automated List Manager
>> majo...@openssl.org
>
> --
> Jeremy Jackson
> HomeSquared Inc.
> Office (760)929-3663
> Mobile (619)807-9517
>
>
--------------97203F47B4E59018CEE40DB4
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks Jeremy
<p>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.
<p>Could you help?
<p>Thanks
<p>Stefan Westner
<p>Jeremy Jackson wrote:
<blockquote TYPE=CITE>Stefan Westner wrote:
<blockquote TYPE=CITE>Hello,
<p>is it possible to extract a public key out of a pem/p7b-file and save
it as
<br>p7b?
<br> </blockquote>
Hmm... I combined a pem cert and pem RSA key with the cat command...
<br>PEM is base64 encoded with a header and footer... just use a text editor
<br>I think.
<blockquote TYPE=CITE>
<br>Thanks
<p>Stefan Westner
<p>______________________________________________________________________
<br>OpenSSL Project
<a href="http://www.openssl.org">http://www.openssl.org</a>
<br>User Support Mailing List
openss...@openssl.org
<br>Automated List Manager
majo...@openssl.org</blockquote>
<pre>--
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517</pre>
</blockquote>
</html>
--------------97203F47B4E59018CEE40DB4--
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.
--------------D4077AE9C712966A22AFBB77
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Stefan Westner wrote:
<blockquote TYPE=CITE>Thanks Jeremy
<p>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.
<p>Could you help?</blockquote>
Sorry I'm a little busy at work... you should at least try using a text
editor to verify my claims... then
<br>if it works you could use sed, awk, perl, or even bash, or any command-line
tool to separate the key part out.
<p>Sorry but I don't have time to actually make a script to do this.
<blockquote TYPE=CITE>
<p>Thanks
<p>Stefan Westner
<p>Jeremy Jackson wrote:
<blockquote TYPE=CITE>Stefan Westner wrote:
<blockquote TYPE=CITE>Hello,
<p>is it possible to extract a public key out of a pem/p7b-file and save
it as
<br>p7b?
<br> </blockquote>
Hmm... I combined a pem cert and pem RSA key with the cat command...
<br>PEM is base64 encoded with a header and footer... just use a text editor
<br>I think.
<blockquote TYPE=CITE>
<br>Thanks
<p>Stefan Westner
<p>______________________________________________________________________
<br>OpenSSL Project
<a href="http://www.openssl.org">http://www.openssl.org</a>
<br>User Support Mailing List
openss...@openssl.org
<br>Automated List Manager
majo...@openssl.org</blockquote>
<pre>--
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517</pre>
</blockquote>
</blockquote>
<pre>--
Jeremy Jackson
HomeSquared Inc.
Office (760)929-3663
Mobile (619)807-9517</pre>
</html>
--------------D4077AE9C712966A22AFBB77--