matteocorti / check_ssl_cert

A shell script (that can be used as a Nagios/Icinga plugin) to check an SSL/TLS connection.
GNU General Public License v3.0
368 stars 132 forks source link

Renegotiation checks should not be performed when checking local files #314

Closed matteocorti closed 3 years ago

matteocorti commented 3 years ago

Describe the bug

When checking a local certificate with the --file command line argument the script connects to localhost:443 to check renegotiation.

To Reproduce

./check_ssl_cert -f ./somecert -d

Expected behavior

Renegotiation should only be checked remotely