convert plain text rsa keys to pem or der format

This is a discussion on convert plain text rsa keys to pem or der format within the Linux Security forums, part of the System Security and Security Related category; hi can anybody tell me how can i convert the plain rsa private keys to pem or der format. thankyou...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-17-2004
justman
 
Posts: n/a
Default convert plain text rsa keys to pem or der format

hi

can anybody tell me how can i convert the plain rsa private keys to
pem or der format.

thankyou
Reply With Quote
  #2 (permalink)  
Old 06-18-2004
Dr. Robert Meier
 
Posts: n/a
Default Re: convert plain text rsa keys to pem or der format

justman

> can anybody tell me how can i convert the plain rsa private keys to
> pem or der format.


Since no one else responded with more detail, I'll provide a hint.
Sorry I have no better detail.

"private key - known only to owner, never transmitted"
"secret key - known only to users, transmitted only over secure channel"
"public key - known to anyone, transmitted to likely users"
I assume that you mean secret key (e.g. for S-MIME). I suspect that
you don't want to transmit private keys in pem, der, or any other
format.

Several months ago, I did this using a convenient web browser.
Netscape Navigator (4.5?) was able to load a certificate holding
an RSA secret key and save it as PEM and/or DER/CER certificate.

If you check around, or someone who reads this can suggest
candidates, you should be able to find a tool (web browser,
mail browser, ...) that can load and save certificates in the
formats you need.

Good luck,
--
Dr. Robert J. Meier
Compuware, Inc.

Reply With Quote
  #3 (permalink)  
Old 06-19-2004
Gabriel
 
Posts: n/a
Default Re: convert plain text rsa keys to pem or der format

Funny, just my course of today :)

given a key, you can generate a certificate with openssl (grab it either
on linux or windows)
man openssl

for example :
openssl req -new -x509 -days 100 -keyout ca.key -out cas.pem
=> done :)

Okay, read the man to have some explantions about the different options.

Hope I helped you, I do not feel the courage to go though my course once
more today :)

--
--
email : on se découvre pour m'écrire :)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0