Loading

How to convert a PFX type certificate to PEM format for my Dedicated Load Balancer

Дата публикации: Oct 29, 2024
Задача

GOAL

I need to renew my Dedicated load balancer certificate. The certificate is in PFX format however the DLB requires PEM type certificates. 
Действия
To convert a PFX certificate to PEM please follow the commands below
 

Conversion to separate PEM files

We can extract the private key form a PFX to a PEM file with this command:

# openssl pkcs12 -in filename.pfx -nocerts -out key.pem
 

Exporting the certificate only: (use this to upload to the DLB, you may need to include intermediate certificates if any)

# openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem
 

Removing the password from the extracted private key:

# openssl rsa -in key.pem -out server.key
Номер статьи базы знаний

001115550

 
Загрузка
Salesforce Help | Article