Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- print "TESTING VENTANILLA:".PHP_EOL;
- $opts = array(
- 'ssl' => array('verify_peer'=>false)
- );
- $context = stream_context_create($opts);
- // if (fopen("https://www.ventanillaunica.gob.mx","r",false)) { print "Ventanilla SSL Test OK\n\n"; }
- if (fopen("https://www.ventanillaunica.gob.mx/ventanilla/RecibirCoveService","r",false, $context)) { print "RecibirCoveService SSL Test OK\n"; }
- // if (fopen("https://www.ventanillaunica.gob.mx/ventanilla/DigitalizarDocumentoService","r",false)) { print "DigitalizarDocumentoService SSL Test OK\n"; }
- print "TESTING OTHER SITES:".PHP_EOL;
- if (fopen("https://www.google.com","r")) { print "www.google.com SSL Test OK\n"; }
- if (fopen("https://www.ssllabs.com","r")) { print "www.ssllabs.com SSL Test OK\n"; }
- if (fopen("https://sadta.aaamerica.com.mx","r")) { print "sadta.aaamerica.com.mx SSL Test OK\n"; }
- // # openssl s_client -CApath /etc/ssl/certs -connect www.ventanillaunica.gob.mx:443
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement