The key steps are:
- Convert the PFX file to PEM:
openssl pkcs12 -in myCert.pfx -nocerts -out privateKey.pem
- Remove the passphrase if there is one on the above:
openssl rsa -in privateKey.pem -out private.rsakey
- Extract the public certificate chain
openssl pkcs12 -in myCert.pfx -info
The certificate can then be uploaded via the section.io portal or section.io API (How to upload a custom certificate via the section.io API)