Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-15-2007, 04:56 PM   #1
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
openssl key formats (converting to others)

I am new to using keys so please forgive my ignorance.

We are currently using rsync over ssh. We use ssh-keygen to generate RSA keys. This works great.

Now we are bringing another server online listening for SSL connections. The app is in java and using the JSSE keystore (jks) format. I used java's keytool to generate keys for this application. The client side is written in VB and we are using the client side of stunnel to connect to the SSL server. I exported the keys/certificates in PEM format (by using keytool -export -rfc ...) and these keys work great with stunnel.

We want to use the same key pair for both (ssh)rsync and the server connection. First of all I am a bit confused about all the different formats and would have thought there was an industry standard ( I thought PEM was ).

I tried exporting the public and private keys from the jsse keystore in PEM format and using these for the ssh keys but this would not work.

Can anyone shed some light on this?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Key Signature ERRORS! How do I delete this bad key from my computer? Balarabay1 Linux - Software 4 09-27-2006 12:01 PM
Converting proprietary audio/video formats to ogg vorbis/theora? brynjarh Linux - Software 2 08-26-2006 12:52 AM
OpenBSD 3.5 - openssl key creation tutorial for apache lazlow69 *BSD 2 07-10-2004 12:46 PM
converting between proprietary sound formats q. Calum Linux - Software 2 05-08-2003 09:41 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 08:25 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration