


What is the name of your City or Locality? What is the name of your organizational unit? Filename – again, it’s good to keep the domain name.Įx: ssl]# keytool -genkey -alias bloggerflare -keyalg RSA -keysize 2048 -keystore bloggerflare.jks.Alias – better to keep it meaningful so in future you can quickly recognize.There is two variable in above commands which you may want to change. Keytool -genkey -alias domainname -keyalg RSA -keysize 2048 -keystore filename.jks We will use keytool utility to manage the certificates. The first step would be to generate a CSR and get that signed by the certificate authority. Let’s start… Preparing for SSL/TLS Certificate Generate CSR (Certificate signing request).However, if you are not using any of the above or using this as a front-end or need to deploy SSL directly in Tomcat, then the following will help you.

Use web servers like Apache, Nginx, etc.You can terminate SSL at a load balancer.One of the essential tasks for securing Tomcat is to configure SSL certificate, so web application is accessible over HTTPS. A step-by-step guide to set up SSL/TLS certificate in Tomcat server.
