Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to enable SSL in tomcat

 
samy mity
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

How to enable ssl in tomcat server to enable https request. It needs to be done at IP  level(machine)  or tomcat server level?
SSl certificate need to be installed both at server and client ?
Which ssl certificate is freely available to enable https?
 
Tim Moores
Bartender
Posts: 3202
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everything you need to know can be found at http://tomcat.apache.org/tomcat-8.5-doc/ssl-howto.html
 
Tim Holloway
Saloon Keeper
Posts: 18388
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The primary SSL cert has to be installed on Tomcat in the SSL keystore database as described at the URL Tim Moores indicated. The client has a collection of SSL parent certs that must match up to the root of the Tomcat server's certificate chain if you want the TLS connection to be automatically approved.

You can get free certs from letsencrypt.org, but they have to be renewed every 90 days.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!