First, use the “keytool” command to create a self-signed certificate. During the keystore creation process, you need to assign a password and fill in the certificate’s details.
keytool -genkeypair -keyalg RSA -alias myalias -keysize 2048 -keystore keystore.jks -validity 3650
export the CRT By using below command
keytool -exportcert -keystore keystore.jks -alias myalias -file selfsigned.crt
Негізгі бет How to configure Tomcat to support SSL or https (Part-1) || By Shiva
Пікірлер