tomcat letsencrypt windows program code example
Example 1: letsencrypt windows tomcat
keytool -import -alias root -keystore <your_keystore_filename>
-trustcacerts -file <filename_of_the_chain_certificate>
Example 2: letsencrypt windows tomcat
"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA