2016-10-18 17:13:56 +09:00
|
|
|
@echo off
|
|
|
|
setlocal enabledelayedexpansion
|
2018-03-20 15:55:41 -07:00
|
|
|
REM ocspocsp_test_bin.bat
|
2016-10-18 17:13:56 +09:00
|
|
|
|
2018-03-20 15:55:41 -07:00
|
|
|
set ocsp_test_bin=%1
|
|
|
|
set ocsp_test_bin=%ocsp_test_bin:/=\%
|
|
|
|
if not exist %ocsp_test_bin% exit /b 1
|
2016-10-18 17:13:56 +09:00
|
|
|
|
2018-03-20 15:55:41 -07:00
|
|
|
%ocsp_test_bin% www.amazon.com 443 & if !errorlevel! neq 0 exit /b 1
|
|
|
|
%ocsp_test_bin% cloudflare.com 443 & if !errorlevel! neq 0 exit /b 1
|
2016-10-18 17:13:56 +09:00
|
|
|
|
|
|
|
endlocal
|