diff options
author | Remy <relst@relst.nl> | 2015-03-28 08:59:04 +0100 |
---|---|---|
committer | Remy <relst@relst.nl> | 2015-03-28 08:59:04 +0100 |
commit | faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5 (patch) | |
tree | 820b2a5da07726ec176961d4b83b89d5bd6821fb /functions/ocsp.php | |
parent | b782322a10c5ca52e21bb2017dc8af7067220952 (diff) | |
download | ssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.zip ssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.tar.gz ssl-decoder-faa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5.tar.bz2 |
add tls_fallback_scsv check
Diffstat (limited to 'functions/ocsp.php')
-rw-r--r-- | functions/ocsp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ocsp.php b/functions/ocsp.php index 37aec86..299a1fd 100644 --- a/functions/ocsp.php +++ b/functions/ocsp.php @@ -16,7 +16,7 @@ function ocsp_stapling($host, $port){ $result = ""; - $output = shell_exec('echo | timeout 5 openssl s_client -connect "' . escapeshellcmd($host) . ':' . escapeshellcmd($port) . '" -tlsextdebug -status 2>&1 | sed -n "/OCSP response:/,/---/p"'); + $output = shell_exec('echo | timeout 2 openssl s_client -connect "' . escapeshellcmd($host) . ':' . escapeshellcmd($port) . '" -tlsextdebug -status 2>&1 | sed -n "/OCSP response:/,/---/p"'); if (strpos($output, "no response sent") !== false) { $result = array("working" => 0, "cert_status" => "No response sent"); |