If you are familiar with shell scripts on macOS or Linux, then the following script would be helpful to automate the steps to create the required files to authenticate with Anaplan via a CA-signed certificate.
Depending on the documented options in the script, the following outputs will be produced:
A Public Key for uploading to Anaplan's tenant administration
An unencrypted or encrypted Private Key as well as a Java Key Store (JKS) for use with a OneCloud Anaplan connection or with Anaplan Connect.
In the script below, please update the following parameters and execute the script in your own environment.
CreateUnencryptedPrivateKey (True / False)
EncryptedPrivateKey (True / False)
CreateJks (True / False)
It is advised that you leave the other default values. If so, here are how the following files are used:
"ca_certificate.pem" is the public certificate that is uploaded to Anaplan. Follow the documentation that Anaplan provides here and use the Register a Certificate documentation.
The "ca_certificate.pem" file is also uploaded as a resource when configuring an Anaplan OneCloud connection.
The "unencrypted_private_key.pem" and "encrypted_private_key_pkcs8.pem" can each be used with an Anaplan Connect Script.