ssltool is a tool to check and generate certificates.
You can download the binary from the releases page or you can build it yourself.
You can run make
Or run go build
from the root directory
You can just copy the binary to a location in your path or run it directly from the directory where you downloaded it.
Check the certificate details:
./ssltool details --host www.example.com
Check the certificate details and the certificate:
./ssltool details --host www.example.com --cert
Check service using a tls certificate with a custom port:
./ssltool details --host ldaps.example.com --port 636
If it is using a self signed certificate, you can use the --insecure flag to ignore the certificate errors.
./ssltool details --host ldaps.example.com --port 636 --insecure
Generate a self signed certificate:
LOCALITY="Bowling Green" PROVINCE="Kentucky" COUNTRY="US" ORG="Example ORG" OU="Example OU" ./ssltool gen -c www.example.com
If you would like to contribute, please open an issue or a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.