How to use the certificate for Tomcat

I’m having the same problem as the guy above. I’m using Apache Tomcat/8.5.3 with Java 1.8.0_92 (Oracle) 64bit.

The log files show:

java.security.KeyStoreException: Cannot store non-PrivateKeys

OK, in case someone else has the same problem, you have to activate the Tomcat Native Connector 1.2 by adding a dll to your lib directory. Works fine afterwards.

hi all,

thx u for this forum , need to help regarding setup ssl on jira using exisiting .pem

i have jira im going to put the ssl on , after searching some forum im still unable to resolved it , i saw melo has experience on it , melo could pls help assist me the step if using own certificate , because already had the certificate .
( private.pem , server.crt . testing.crt ) thats all its working on my web server apache and nginx ,

thx,
Lukman

Hi @melo, thanks for all your help. But I cannot acces to https://melo.myds.me/wordpress/reverse-proxy-tomcat-for-https anymore. Is it possible to bring it back online please?

Thank

I have managed to configure Tomcat and Letsencrypt using Tomcat Native APR connector on Ubuntu. Gets A+ rating on SSL test. I’ve written a tutorial how to do it here: https://mladenadamovic.wordpress.com/2016/09/06/configure-tomcat-with-ssl-on-ubuntu-minimal/

Hope it helps!

I’m giving a presentation at this year’s ApacheCon in Miami where I’ll be showing how to use Tomcat with Let’s Encrypt. After the presentation, I’ll be making my slides available on http://tomcat.apache.org/presentations.html for anyone who wants them.

I have made a PoC Video on this topic where it provide all the necessary step to csr generation to configuring tomcat to use lets encrpt provided certificate

1 Like