-
-
Notifications
You must be signed in to change notification settings - Fork 136
Description
when I test www.google.com, it is shown SSL_CERT UNKNOWN www.google.com: cannot find program: host
./check_ssl_cert -d -v --host www.google.com
[DBG] Shell: /bin/bash
[DBG] GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
[DBG] Copyright (C) 2011 Free Software Foundation, Inc.
[DBG] License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
[DBG]
[DBG] This is free software; you are free to change and redistribute it.
[DBG] There is NO WARRANTY, to the extent permitted by law.
[DBG] grep: grep
[DBG] grep (GNU grep) 2.20
[DBG] Copyright (C) 2014 Free Software Foundation, Inc.
[DBG] License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
[DBG] This is free software: you are free to change and redistribute it.
[DBG] There is NO WARRANTY, to the extent permitted by law.
[DBG]
[DBG] Written by Mike Haertel and others, see http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS.
[DBG] hostname: /bin/hostname
[DBG] $PATH: /root/perl5/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[DBG] Command line arguments: -d -v -H www.google.com
[DBG] TMPDIR = /tmp
[DBG] Required HTTP headers:
[DBG] Unrequired HTTP headers:
[DBG] Adding the domain if missing
[DBG] HOST = www.google.com
[DBG] SNI =
[DBG] HOST_NAME = www.google.com
[DBG] HOST_ADDR = www.google.com
[DBG] NAMES_TO_BE_CHECKED = HOST
[DBG] Checking if www.google.com is an IP address
[DBG] www.google.com is not an IP address
[DBG] HOST_IS_IP. = 0
[DBG] Checking if www.google.com is an IP address
[DBG] www.google.com is not an IP address
[DBG] Adding www.google.com to NAMES_TO_BE_CHECKED
[DBG] NAMES_TO_BE_CHECKED = www.google.com
[DBG] curl binary needed. SSL Labs = , OCSP = 1, CURL = , IGNORE_CONNECTION_STATE=, FILE_URI=
[DBG] curl binary not specified
[DBG] curl available: /bin/curl
[DBG] curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
[DBG] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
[DBG] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets
[DBG] -c specified: 15
[DBG] -w specified: 20
[DBG] cleaning up temporary files
SSL_CERT UNKNOWN www.google.com: cannot find program: host
how can I resolve it?
thanks.