Linux Commands to Check for MCommunity eDirectory Certificates

New Certificate Authority (CA) certificates for the MCommunity eDirectory environments will be implemented on April 29, 2018. Any certificates issued by the old CA will become immediately invalid at that time. This may affect a small number of systems that make specially configured LDAP connections to MCommunity environments. This document lists the Linux commands to check for a matching certificate fingerprint on a Java keystore.

Most systems unaffected. The majority of systems that use LDAP to search MCommunity will be unaffected by this change. This is because systems making a connection to use an InCommon-provided certificate that is accepted by most clients automatically.

A few systems need a new certificate. Systems that will need a new certificate are those that:

  • Make LDAP connections using Certificate Mutual Authentication.
  • Connect to a specific eDirectory server by name.

Identify these systems by checking for references to a file named MCOMMUNITY_CA.pem or MCOMMUNITY-LDAP_CA.pem in the LDAP connection configuration. These systems will need the new CA's public certificate on their server in order to trust any non-InCommon certificate presented by the eDirectory servers when an LDAP connection is initiated.

Find MCommunity Prod Certificates

keytool -list -keystore /path/to/keystore.jks | grep

keytool -list -keystore /path/to/keystore.jks | grep

Find MCommunity QA Certificates

keytool -list -keystore /path/to/keystore.jks | grep

keytool -list -keystore /path/to/keystore.jks | grep

Last Updated: 
Thursday, March 8, 2018