Use Case: Converting SSL certificates to ASE compatible format
This topic discusses the commands involved in converting your SSL certificates to make them compatible with API Security Enforcer (ASE)'s SSL certificate format.
About this task
When PingIntelligence for APIs is deployed in sideband mode, ensure that the SSL certificates used by the gateway is in .pem format. You can use OpenSSL to convert the certificates.
To convert your SSL certificate from .crt extension to .pem extension:
Steps
-
Run the following command to get ASE certificate details:
# openssl s_client -showcerts -connect <ASE-IP>:<SSL-PORT>
Example:
openssl s_client -showcerts -connect 127.1.1.1:8443
-
Create a temporary certificate file
ase.crtusing the contents of the ASE certificate.Make sure to include the content starting from "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" in the temporary
ase.crtfile. -
Run the following command to convert the
ase.crtcertificate into a.pemfile:# openssl x509 -in ase.crt -out ase.pem