summaryrefslogtreecommitdiffstats
path: root/functions/ocsp.php
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-03-28 08:59:04 +0100
committerRemy <relst@relst.nl>2015-03-28 08:59:04 +0100
commitfaa7f20fcc89bb1a1b77f2aaa78b88cda794b1b5 (patch)
tree820b2a5da07726ec176961d4b83b89d5bd6821fb /functions/ocsp.php
parentb782322a10c5ca52e21bb2017dc8af7067220952 (diff)
downloadssl-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.php2
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");