Only try to print the certificate info if it exists.