docs: @Override
      public X509Certificate getClientKeyCert(Properties sslProps) throws KeyStoreException, CertificateException {
  
          if (sslProps != null && !sslProps.isEmpty()) {
              String keyStoreName = sslProps.getProperty(Constants.SSLPROP_KEY_STORE_NAME);
  
              String certAlias = sslProps.getProperty(Constants.SSLPROP_KEY_STORE_CLIENT_ALIAS);
              if (certAlias != null) {
                  // client alias is in properties so get the certificate from the keystore
                  return getX509CertificateFromKeyStore(keyStoreName, certAlias);
              } else {
                  return getX509CertificateFromKeyStore(keyStoreName);
              }
          }
          return null;
      }