Thanks John and everybody that read my message.
I create a key with this line command: keytool -genkey -alias tomcat -keyalg RSA
I placed this code in server.xml:
---
 <Connector className="org.apache.catalina.connector.http.HttpConnector"
           port="8443" minProcessors="5" maxProcessors="75"
           enableLookups="true"
           acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
           clientAuth="false" protocol="TLS"/>
 </Connector>
-----
But when i try to start tomcat this exception is generate:
---
java.io.IOException: Keystore was tampered with, or password was incorrect
        at
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:739)
        at java.security.KeyStore.load(KeyStore.java:652)
        at
org.apache.catalina.net.SSLServerSocketFactory.initKeyStore(SSLServer
SocketFactory.java:426)
---

The password  of  keystore and password of alias(tomcat) is the same.

Anybody has any idea?

Thanks again.


----- Original Message -----
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 16:07
Subject: RE: To use certificates


> Encontre sempre uma linha desocupada com o Discador BOL!
> http://sac.bol.com.br/discador.html
> Ainda n�o tem AcessoBOL? Assine j�! http://sac.bol.com.br
>
> RTFM
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
>
> John
>
>
> > -----Original Message-----
> > From: Lindomar [mailto:lindomar.silva@;bol.com.br]
> > Sent: Tuesday, November 12, 2002 12:07 PM
> > To: Tomcat Users List
> > Subject: To use certificates
> >
> >
> > Hi everybody!
> >
> > How can i install or create a sample of certificate?
> > I need to do some tests(https) on tomcat.
> >
> > Thanks in advanced.
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
>


Reply via email to