Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat 9 not working with ssl  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I try to configure tomcat 9 with ssl but I cannot find the way to make it work. I think i've followed the tutorial on their website (https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html), but I got this message on chrome :

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Here what I did for the autosigned certificate :

sudo ./keytool -genkey -alias tomcat -keyalg RSA -keystore monKeystore -keypass changeit -storepass changeit
sudo ./keytool -export -alias tomcat -keystore monKeystore -storepass changeit -file monKeystore.cer
sudo ./keytool -import -trustcacerts -file monKeystore.cer -alias tomcat -keystore $JAVA_HOME/jre/lib/security/cacerts

And here what I got in tomcat server.xml :

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
        maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
        keystoreFile="/usr/lib/jvm/java-8-oracle/bin/monKeystore" keystorePass="changeit"
        clientAuth="false" sslProtocol="TLS" />

When I start tomcat I got no error in logs, but it doesn't work anyway. Any idea? Thanks

 
Bartender
Posts: 19555
90
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried this? https://www.deskdecode.com/err_ssl_version_or_cipher_mismatch/
 
lempkin ebowyn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I've tried this and this is working now : https://stackoverflow.com/questions/30124002/tomcat-7-ssl-not-working-err-ssl-version-or-cipher-mismatch
Thanks =)
 
This is my favorite show. And this is my favorite tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!