check_http & ssl
Posted: Fri Aug 16, 2019 3:41 am
Hi,
I have a site httpS, which I need to check with check_http and find a line in it that contains a specific word.
I do:
As I understand it: S - use https instead of http
I get:
I have a site httpS, which I need to check with check_http and find a line in it that contains a specific word.
I do:
Code: Select all
check_http! -S -s "123"!
I get:
Code: Select all
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - string '123' not found on 'https://site.com:443/'