read certificates of SSL/TLS