Perl script to scrape SSL certificate data