LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 03-15-2007, 04:56 PM   #1
cygnus-x1
Member
 
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?

thanks
 
  


Reply


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


All times are GMT -5. The time now is 03:22 PM.

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