PKI Tutorials - Herong's Tutorial Examples - Version 2.03, by Dr. Herong Yang
PHP Scripts Communicating with HTTPS Servers
This chapter provides tutorial notes and example codes on writing PHP scripts communicating with HTTPS servers. Topics include configuring the OpenSSL module; using file_get_contents() and fopen() functions with OpenSSL; setting 'verify_peer' SSL context option to verify server's certificates; concatenating multiple CA certificates in a single PEM file.
Table of Contents