How to use: To run the tool, simply execute script:
./ssltools
Then select what you want from the menu.
(More options and functions when I work out whats useful and how to implement it...)
The following location
$HOME/.conf/sslTool
is used for storing.cnf
,.csr
and.key
files.
- New CSR
- Renew from existing
This will take your CSR, Public and Private key/Certificate files and show you the hash vaule of each.
openssl req -noout -modulus -in "$csrFile" | openssl md5
openssl x509 -noout -modulus -in "$pubKey" | openssl md5
openssl rsa -noout -modulus -in "$privKey" | openssl md5
Prints the details of your selected .csr file.
openssl req -text -noout -verify -in "$csrFile"
Returns output from the following commands
openssl s_client -showcerts -servername "$hostURL" -connect "$hostURL":443 2>/dev/null | openssl x509 -inform pem -noout -text
uh...Quits the script.