Imagine u have a certificate file named server.crt (obtained with openssl)
In order to inport it in a keystore use this:

keytool -import -alias your_alias -file server.crt -keystore your_keystore

I have imported with success rsa signed certificates obtained with openssl.

In order to use the keystore in your client app, u shold specify this in the
cmd line:

java -cp yout_classpath -Djavax.net.ssl.trustStore=your_keystore .....

----- Original Message -----
From: "Krijn van der Raadt" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 4:24 PM
Subject: RE: Is a keystoreType other than jks possible?


> I'm sorry, of course i meant to say server certificate....
> If you can help me import it into the keystore, plese do.
> Thanks
>
> Krijn
>
> -----Original Message-----
> From: Horia Muntean [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 12 maart 2002 15:15
> To: Tomcat Users List
> Subject: Re: Is a keystoreType other than jks possible?
>
>
> U need to use a server key, or a server certificate?
> I u want to use a server certificate u can import it into the keystore.
> If u want to use the server key, I can't help.
>
> Horia Muntean
> ----- Original Message -----
> From: "Krijn van der Raadt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 12, 2002 4:12 PM
> Subject: Is a keystoreType other than jks possible?
>
>
> > The tomcat documentation tells me that the default keystoreType is
'JSK'.
> > Is this also the *only* keystoreType?
> > I need to use a server key made with openssl and not with the keytool.
> > Is this possible?
> >
> > Ing. K. van der Raadt
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to