This GitHub Actions workflow executes the process of converting a PEM certificate file to a Java KeyStore (JKS) format and which can then be imported it into Salesforce.
- Convert PEM to P12: The workflow converts the provided PEM certificate file to a PKCS12 format (.p12).
- Convert P12 to JKS: The PKCS12 file is then converted to a Java KeyStore (.jks) format.
- Create PEM File: Provide the PEM file as a GitHub secret as:
PEM_FILE
. - Set JKS Passphrase: Provide the JKS passphrase as a GitHub secret as:
JKS_PASS
. - Set JKS Alias: Provide the JKS alias as a GitHub variable as:
JKS_ALIAS
. - Run Workflow: Trigger the workflow through the GitHub Actions UI or the CLI.