tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brijesh Deo <>
Subject RE: Error configuring tomcat with ssl certificates
Date Wed, 06 Mar 2013 10:10:48 GMT

-----Original Message-----
From: Siddhi Borkar [] 
Sent: 06 March 2013 15:12
To: Tomcat Users List
Subject: RE: Error configuring tomcat with ssl certificates

Thanks Brijesh,

The certificate that I am using is RSA based certificate,  I tried listing the RSA based ciphers
in the server the xml, however it still gave me the same error.
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
                 maxThreads="150"  scheme="https" secure="true" keystoreFile="/tmp/.keystore"
 clientAuth="false" sslProtocol="TLS" />

Any idea what else could be going wrong?

Hi Siddhi,
You can check your keystore type. If it is not JKS, then you need to specify the keyStoreType
also in the connector definition.


-----Original Message-----
From: Brijesh Deo [] 
Sent: Wednesday, March 06, 2013 12:25 PM
To: Tomcat Users List
Subject: RE: Error configuring tomcat with ssl certificates

-----Original Message-----
From: Siddhi Borkar [] 
Sent: 06 March 2013 12:15
Subject: Error configuring tomcat with ssl certificates


I need help configuring tomcat 6 will ssl certificates. I have been provided with the following
and sslcert.crt

I tried the following steps:

1)      Generated a keystore using java keytool and the certificate file using the following

keytool -import -trustcacerts -alias tomcatcert -file sslcert.crt -keystore keystore

2)      Added the .pem file to the keystore
                              keytool -import -trustcacerts -alias root -file cacert.pem-keystore

3)      Start the tomcat server

4)      After starting the server, the following error was seen in the logs.

Mar 4, 2013 10:52:22 PM org.apache.coyote.http11.Http11Protocol start

SEVERE: Error starting endpoint jsse.invalid_ssl_conf






        at org.apache.coyote.http11.Http11Protocol.start(

        at org.apache.catalina.connector.Connector.start(

        at org.apache.catalina.core.StandardService.start(

        at org.apache.catalina.core.StandardServer.start(

        at org.apache.catalina.startup.Catalina.start(

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(

        at java.lang.reflect.Method.invoke(

        at org.apache.catalina.startup.Bootstrap.start(

        at org.apache.catalina.startup.Bootstrap.main(

Caused by: No available certificate or key corresponds to the
SSL cipher suites which are enabled.




        ... 15 more

Can someone help on this?

You might want to check your ciphers attribute value in the Connector definition in server.xml
file. Generally, the list of ciphers that you include here are based upon the type of your
certificate. If you have RSA based certificate, you need to enlist RSA based ciphers (ones
with _RSA in the cipher suite name) and similarly for DSA based certificate you should have
corresponding cipher suites (ones with _DSS in the cipher suite names). May be you have this
mismatched and that is the problem.

The other way round would be to generate or use a certificate based upon the cipher suites
that you want or are supported in your ciphers attribute value.

Brijesh Deo
Dell | SonicWALL

To unsubscribe, e-mail:
For additional commands, e-mail:

This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message