HF RL Explorer

Task: Get SSL Certificate Information with CURL in PHP

Task: Get SSL Certificate Information with CURL in PHP: a task in Terminal-Lego-15k (Harbor dataset). Create a PHP script that retrieves SSL certificate information from HTTPS websites using CURL. The script should extract certificate details such as the issuer, subject, validity dates, and cipher…

The task

Create a PHP script that retrieves SSL certificate information from HTTPS websites using CURL. The script should extract certificate details such as the issuer, subject, validity dates, and cipher information - similar to what command-line tools provide but not typically included in standard CURL response headers.

Part of PrimeIntellect/Terminal-Lego-15k.