In today's digital landscape, ensuring the security of your websites and applications is paramount. One essential aspect of this security is the management of SSL certificates. But how can you quickly check the status of these certificates without navigating through multiple web interfaces? This is where the Bash SSL Checker Tool comes into play. This simple yet powerful Bash script allows developers and system administrators to check SSL certificate details directly from the command line, making it an invaluable tool for anyone responsible for maintaining secure connections.
What Is Bash SSL Checker Tool?
The Bash SSL Checker Tool is a lightweight Bash script designed to provide quick insights into the SSL certificate status of a given domain. Inspired by popular online SSL checkers, it offers a command-line alternative that is fast and efficient. Whether you're a developer, a system administrator, or simply someone who wants to ensure their website's security, this tool can help you get the information you need in seconds.
Key Features
- Domain Information: Displays the domain name for which the SSL certificate is issued, ensuring you have the right target.
- Expiry Countdown: Shows the number of days until the SSL certificate expires, helping you avoid unexpected outages.
- Issue and Expiry Dates: Provides clear information on when the certificate was issued and when it will expire.
- Issuer Details: Displays the issuer information, giving insight into the certificate's authority.
- Supported TLS Versions: Lists the TLS versions supported by the certificate, which is crucial for compatibility.
- Certificate Fingerprint: Outputs the SHA1 fingerprint of the certificate for verification purposes.
- Cross-Platform Compatibility: Tested on various Linux distributions including Ubuntu, CentOS, and Debian.
Installation & Setup
To get started with the Bash SSL Checker Tool, you'll need to follow a few simple installation steps. Make sure you have openssl installed on your system. If not, you can install it using your package manager. Here’s how to do it:
sudo apt-get install openssl nmap host # Ubuntu/Debian
sudo yum install openssl nmap host # CentOS/RHEL
Once you have the necessary dependencies, download the script and make it executable:
wget https://raw.githubusercontent.com/bobbyiliev/bash-ssl-checker-tool/master/ssl
chmod +x ssl
How to Use It
Using the Bash SSL Checker Tool is straightforward. After setting it up, simply run the script with the desired domain name:
./ssl yourdomain.com
For example, if you want to check the SSL certificate for bobbyiliev.com, you would execute:
./ssl bobbyiliev.com
This will output valuable information such as the certificate's validity, issuer details, and expiration dates. Here’s an example of what the output might look like:
The bobbyiliev.com domain name seems valid
# SSL Certificate Details:
Domain: CN = bobbyiliev.com
----
# SSL Certificate Expiry:
Expires in: 90 days
----
# Important Dates:
Issued On: Jun 4 09:05:19 2020 GMT
Expires On: Sep 2 09:05:19 2020 GMT
----
# Issuer Information:
Issuer: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
----
# Supported TLS Versions:
| TLSv1.0
| TLSv1.1
| TLSv1.2
----
# Certificate Fingerprint:
SHA1 Fingerprint = C1:E1:6C:46:8A:74:94:14:00:94:88:B9:4B:2B:C5:90:79:DE:72:64
----
Who Should Use Bash SSL Checker Tool?
This tool is particularly beneficial for developers, system administrators, and IT professionals who are responsible for managing domain security and SSL certificates. If you're someone who regularly checks SSL certificate statuses or needs to verify the security of web applications, this tool is designed for you. It’s also a great fit for those who prefer working in the command line and want to streamline their workflow.
Final Thoughts
The Bash SSL Checker Tool is a practical and efficient solution for checking SSL certificate details from the command line. Its simplicity and ease of use make it an excellent tool for anyone involved in web security. Whether you're managing a single website or multiple domains, this script provides reliable and immediate insights into SSL certificate statuses, helping you keep your digital assets secure. With a few simple commands, you can ensure that your SSL certificates are up-to-date and functioning correctly.