I would like to use the Java Keystore as the  Key and Certificate Management
utility. Hey gotta have some management system in place.

1) Create the EC KEYS
2) make x509
3) store in Java keystore

openssl ecparam -out ec.pem -name secp224r1 -genkey 
openssl req -new -key ec.pem  -inform pem -x509 -days 731 -out my.x509
keytool -import -alias foo -keystore %JAVA_HOME%\jre\lib\security\cacerts
-file my.x509

*I get this ERROR*
keytool error: java.security.NoSuchAlgorithmException: SHA1withECDSA
Signature not available

So I also try this as someone said DER for Keytools

1) Create the keys
2) make x509
3) make DER
3) store in Java keystore

openssl ecparam -out ec.pem -name secp224r1 -genkey 
openssl req -new -key ec.pem  -inform pem -x509 -days 731 -out my.x509
openssl x509 -outform der -in my.x509 -out my.der
keytool -import -alias foo -keystore %JAVA_HOME%\jre\lib\security\cacerts
-file my.der


*I get this same ERROR*
keytool error: java.security.NoSuchAlgorithmException: SHA1withECDSA
Signature not available

So how can I use the Java keystore to manage the keys. It does work for my 
openssl RSA keys nicely.
Personally I just want to store the PEMS as is without having to create an
x509
as I do create public x509s from these keys.


thank you in advance.





--
View this message in context: 
http://openssl.6102.n7.nabble.com/openssl-EC-PEM-to-Java-Keystore-JKS-tp43453.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to