The Deploy the Custom Connector Software documentation page was previously used to initially configure the Privileged Access Manager (PAM) Custom Connector on Windows. A new certificate was generated since the previous one expired and the JWT keystore was updated using the instructions from the documentation, but the documentation does not include instructions to create the HTTPS communication keystore from the certificate. How can the expired certificate be replaced?
First, open Powershell and use the certutil command to create a pkcs12 formatted bundle from the certificate and key.
> certutil -MergePFX example.crt example.pfx
For the certutil command to work, the following 3 things must be true.
Once the pfx file is generated, use the keytool command to create the keystore.
> keytool -importkeystore -srckeystore example.pfx -srcstoretype PKCS12 -srcalias <alias> -srcstorepass <password> -destkeystore example.jks -deststoretype JKS -destalias pam -deststorepass <password>
Now that the jks file has been generated, continue with the Configure the Custom Connector Server section of the Deploy the Custom Connector documentation page to update the configuration files.