How to save the LDAP SSL Certificate from OpenSSL

后端 未结 7 684
刺人心
刺人心 2020-12-07 16:32

I wanted the SSL Certificate of my LDAP Server which is Novell eDirectory. I have used openssl to connect to ldap to view the certificate.

openssl s_client          


        
7条回答
  •  囚心锁ツ
    2020-12-07 17:16

    The easiest way i found to save a certificate from any SSL enabled protocols like ldap, imap, pop, ftps, https etc. is just using chrome browser. Assume if your server running any protocol (like mentioned) create the url like this

    http://: (example if your ldap server is running on SSL port 10636 it would be https://example.com:10636). Simply just hit this URL and obtain the certificate from the chrome browser itself. A simple demo below. In this demo my ldap server is using a self-signed certificate.

    Click on copy to file and save the certificate by clicking next.

    This method works for any server running on SSL irrespective of protocol.

    Cheers.

提交回复
热议问题