Lets-Encrypt SSL Certificate Useful Commands
January 07, 2018
Checkcertificate details and Expiry of Certificates
certbot certificates
You might need to put sudo before above command.
The command will show details of all the certificates on your server, and theirExpiry dates.
Test all configurations/Input before requesting actual certificate
When you try to request a new or renew certificate from LetsEncrypt, and if there is some error in your request. LetsEncrypt might block you for certain time period (1 day or 2 days). It has a finite quota for each domain requests.
So, there is a way to test whether your request is OK or not. It is a great way not to block yourself.
certbot renew --dry-run
OR
certbot certonly -d example.com -d www.example.com --dry-run
Similar Posts
How to take Backup from MongoDB and Restore to MongoDB
This will take backup of your passed database name, to the passed folder. It…
How to Fetch JSON of all Videos of a Youtube Channel
Youtube APIs are great way to fetch details about video or channels. I’ve…
Solving Jboss Wildfly Oracle JDBC driver problem, with Dockerfile
Assuming your web application is using oracle, and you are deploying your app on…
Drupal 8 Comment module - How to configure comments module from ugly to beautiful - Theming comments module
Introduction Drupal provides a powerful comment module, which comes as a part of…
Eclipse/STS IDE showing compilation errors in java code inspite of all dependencies installed
I have a Java project and dependencies are being managed through maven. I have…
Latest Posts
Jenkins Pipeline with Jenkinsfile - How To Schedule Job on Cron and Not on Code Commit
Introduction In this post we will see following: How to schedule a job on cron…
How to Git Clone Another Repository from Jenkin Pipeline in Jenkinsfile
Introduction There are some cases, where I need another git repository while…
How to Fetch Multiple Credentials and Expose them in Environment using Jenkinsfile pipeline
Introduction In this post, we will see how to fetch multiple credentials and…
Jenkins Pipeline - How to run Automation on Different Environment (Dev/Stage/Prod), with Credentials
Introduction I have an automation script, that I want to run on different…
Jenkinsfile - How to Create UI Form Text fields, Drop-down and Run for Different Conditions
Introduction I had to write a CICD system for one of our project. I had to…
Java Log4j Logger - Programmatically Initialize JSON logger with customized keys in json logs
Introduction Java log4j has many ways to initialize and append the desired…