check_ssl_cert issues with URLs that contains port numbers
Posted: Tue Jun 18, 2019 7:32 pm
Hello community,
I am trying to use the check_ssl_cert to monitor expiring certificates within my organization. I am able to use the plugin just fine with standard URL schemes i.e. domain.name.com, etc. However, some websites our servers host has URL schemas with the port number within the URL i.e. domain.name:8443, etc.
I tried running the following commands in different variations to no avail.
./check_ssl_cert -p 8443 -w 4 -c 2 -H domain.name:8443
./check_ssl_cert -p 8443 -w 4 -c 2 -H "domain.name:8443"
./check_ssl_cert -p 8443 --ssl3 -w 4 -c 2 -H domain.name:8443
./check_ssl_cert -p 8443 --tls1_3 -w 4 -c 2 -H domain.name:8443
Any tips or recommendations on how to use check_ssl_cert with these domains schemas?
Looking forward to your reply.
Sincerely,
A humble student.
I am trying to use the check_ssl_cert to monitor expiring certificates within my organization. I am able to use the plugin just fine with standard URL schemes i.e. domain.name.com, etc. However, some websites our servers host has URL schemas with the port number within the URL i.e. domain.name:8443, etc.
I tried running the following commands in different variations to no avail.
./check_ssl_cert -p 8443 -w 4 -c 2 -H domain.name:8443
./check_ssl_cert -p 8443 -w 4 -c 2 -H "domain.name:8443"
./check_ssl_cert -p 8443 --ssl3 -w 4 -c 2 -H domain.name:8443
./check_ssl_cert -p 8443 --tls1_3 -w 4 -c 2 -H domain.name:8443
Any tips or recommendations on how to use check_ssl_cert with these domains schemas?
Looking forward to your reply.
Sincerely,
A humble student.