retrieve_ssl_certificate_with_openssl
Retrieve SSL certificate with OpenSSL
You can retrieve the SSL CA certificate from for example LDAP or IMAP servers.
echo -n | openssl s_client -connect <server>:636 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ldapserver.pem
retrieve_ssl_certificate_with_openssl.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1