Debugging Secure Socket Layer (SSL)

Can't sleep. Cleaning up my old notes. Jotted these down last time while writing a PHP script to make secure connection to remote server.

1. Check your PHP's SSL extension infomation.
$ php -r "echo phpinfo();" | grep SSL

2. Check and test remote server SSL using openssl client.
$ openssl s_client -state -quiet -connect

3. Check and test remote server ssl using curl.
$ curl --sslv3

No comments:

Post a Comment