How do I generate a SunEC Key?

21 views Asked by At

I am trying to generate a key using the EC algorithm. I tried to do it like this...

keytool -genkeypair -keystore src/test/resources/org/jgleason/auth/client-ec.p12 -storetype PKCS12 -storepass changeit -alias ec-client -keyalg EC -providername SunEC -dname "CN=ec-client"

But when I run I get

keytool error: java.security.KeyStoreException: PKCS12 not found

How do I generate a key for this algorithm type?

0

There are 0 answers