RE: Question on Converting a private key file.

2004-06-24 Thread McCune, Michael
;-BEGIN RSA PRIVATE KEY-" and "-END RSA PRIVATE KEY-"). Then, I read in the file (FileInputStream) and Base 64 decrypted the file read. >From that, I had the Base 64 decrypted bytes, and you can follow from the Java code I posted below. Hope this helps, Mike -O

RE: Store an OpenSSL generated private key in a Java (Sun) keystore

2004-05-27 Thread McCune, Michael
Tim, Thanks for your suggestion...it looks like I've got it to work. I initially generated a RSA key with "des3", using "openssl genrsa". I took that key (keytest.pem), and fed it into: openssl pkcs8 -nocrypt -in keytest.pem -topk8 -out keytest8.pem That gave me an unencrypted PKCS8 key, which I