Running check_ssl_cert from Bash with the "--debug-headers" flag ("Store the retrieved HTLM headers in the headers.txt file") does not always produce the expected headers.txt file. E.g., "./check_ssl_cert --debug-headers -H github.com" does not produce the file, whereas "./check_ssl_cert --debug-headers --all-local -H github.com" does produce the file. I have not tested many other flags to see which ones do and do not cause file production. "--all-local" does; "-v" does not.
To Reproduce
Clone the repo
Run "./check_ssl_cert --debug-headers -H github.com"; should not produce headers.txt
Run "./check_ssl_cert --debug-headers --all-local -H github.com"; should produce headers.txt (with the HTTP response headers from github.com)
Expected behavior
Running check_ssl_cert with the --debug-headers flag should always produce headers.txt
System (please complete the following information):
Describe the bug
Running check_ssl_cert from Bash with the "--debug-headers" flag ("Store the retrieved HTLM headers in the headers.txt file") does not always produce the expected headers.txt file. E.g., "./check_ssl_cert --debug-headers -H github.com" does not produce the file, whereas "./check_ssl_cert --debug-headers --all-local -H github.com" does produce the file. I have not tested many other flags to see which ones do and do not cause file production. "--all-local" does; "-v" does not.
To Reproduce
Expected behavior
Running check_ssl_cert with the --debug-headers flag should always produce headers.txt
System (please complete the following information):
openssl version
): 1.0.2k-fipsAdditional context/output
(none)