Let's Configure HTTP'Secure' in Apache-Tomcat

What is HTTPS?.. if you don't have any idea about what is HTTPS, refer my previous blog post about HTTPS . If you have an idea about HTTPS and SSL/TLS handshake, you are good to go 😊 Creating a digital certificate We can create a digital certificate using "Java KeyStore (JKS)". This is a repository of security certificates. We can generate a keystore file using keytool command. in order to work with keytool, you must have "JAVA" installed in your computer. keytool is a key and certificate management utility that allows users to administrate their own public/private key pairs, and the keystore file we are going to generate bellow will also be our local tomcat server's server certificate. Options When creating a "keystore", we need to provide some options and values to it. -genkey/-genkeypair -alias -keyalg -keystore -keysize -validity -sigalg -storepass -keypass -dname -genkey/-genkeypair ...