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?