Mariusz Brylant wrote:
>
> Hi,
>
> After generating keys with java keytool utillity
> and then generating certificates for this keys with openssl' CA.pl
> script, i am unable to import back this certs into java keystore.
> Here is what I've tried:
>
> ---
> %keytool -genkey -dname "cn=SOME, o=SOME, c=SOME" \
> -alias mTEST -keystore skeystore -validity 180
>
> %keytool -certreq -alias mTEST -file newreq.pem -keystore \
> skeystore
>
> %CA.pl -signreq
> -
> %keytool -import -alias mTEST -file newcert.pem -keystore \
> skeystore
> ---
> and what I finally received while trying to import
>
> keytool error: java.lang.Exception: Input not an X.509 certificate
>
> I have a JSCI-2.1 PKCS#12 security provider configured into
> java.security
> together with standard SUN jcs sec. provider.
You should send this question to openssl's mailing lists or to one of
the javalists.
Michael
--
----------------------------------------------------------------------------
Michael Bell Email: [EMAIL PROTECTED]
Rechenzentrum - Datacenter Email (work):
[EMAIL PROTECTED]
Humboldt-University of Berlin Tel.(work): +49 (0)30-2093 2482
Unter den Linden 6 Fax.(work): +49 (0)30-2093 2959
10099 Berlin
Germany [OpenCA Core
Developer]
http://openca.sourceforge.net
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users