added option to print x509 details