Auto renewing the Lets encrypt certificate for redhat/ubuntu (tomcat) instance


#1

Hi

Thanks for reading this. Let me know if any one knows how to update the auto renewal of Lets encrypt certificate. Now my domain has installed with the certificate. I want it to be auto renewal after every 3 months is there any method to do it.

My domain is: dentaltu.dhlabsdev.com

I ran this command: installed

It produced this output: Now it is with ssl

My web server is (include version): Tomcat 8.5.13

The operating system my web server runs on is (include version): ubuntu

My hosting provider, if applicable, is: AWS

I can login to a root shell on my machine (yes or no, or I don’t know): Yes, I can login to the root

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):


#2

Hi,

How do you obtained the certificate?
Did you use any of the client listed in this?

Thank you


#3

I have used the cerbot client.

by using the below commands
sudo keytool -genkey -noprompt -alias tomcat -keyalg RSA -keystore ~home/conf/.keystore -keysize 2048 -dname “CN=domainname, OU=Dlabs, O=IOT, L=Blr, S=Kar, C=91” -keypass “password” -storepass “password”

keytool -certreq -alias tomcat -file request.csr -keystore ~home/conf/.keystore -storepass “password”

certbot certonly --standalone -d domainname --csr request.csr

sudo keytool -import -trustcacerts -alias tomcat -file 0001_chain.pem -keystore ~home/conf/.keystore -storepass “password”


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.