Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


retrieve_ssl_certificate_with_openssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

retrieve_ssl_certificate_with_openssl [2014/01/10 09:00]
admin created
retrieve_ssl_certificate_with_openssl [2014/06/10 14:21] (current)
admin
Line 1: Line 1:
-=====Retrieve SSL certificate=====+{{tag>​[ssl security]}} 
 + 
 +=====Retrieve SSL certificate ​with OpenSSL=====
 You can retrieve the SSL CA certificate from for example LDAP or IMAP servers. 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   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: 2014/06/10 14:21 by admin