Showing posts with label TLS. Show all posts
Showing posts with label TLS. Show all posts

Wednesday, January 28, 2026

how to export certificate in pem format | SSL / TLS issues.

For TLS implementation in EBS it support PEM format.  

    Exporting a certificate in PEM format depends on your current file type (e.g., .pfx, .cer, .der) or the tool you are using. 
    1. Using OpenSSL (Cross-Platform)
    OpenSSL is the most common tool for converting certificates. 
    • From PFX (.p12 / .pfx): To export the certificate and private key together:
      openssl pkcs12 -in certificate.pfx -out certificate.pem -nodes
    • From DER (.cer / .der): To convert a binary DER file to a text PEM file:
      openssl x509 -inform der -in certificate.cer -out certificate.pem
    • From P7B (.p7b): To convert a PKCS#7 file:
      openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem
       
    2. Using Windows Certificate Export Wizard
    If the certificate is already installed on your Windows system:
    1. Open certmgr.msc (User) or certlm.msc (Local Computer).
    2. Right-click your certificate → All Tasks → Export.
    3. Select Base-64 encoded X.509 (.CER). This format is functionally identical to PEM.
    4. Complete the wizard and save the file. You can manually rename the extension from .cer to .pem if required by your application. 
    5. 3. Using a Web Browser
      To export a certificate from a website:
      • Chrome/Edge: Click the Padlock icon → Connection is secure → Certificate is valid → Details → Export. Choose Base-64 encoded X.509 or PEM if available.
      • Firefox: Click the Padlock → Connection secure → More Information → View Certificate → Details → Export. 
      4. Manual Creation (Combining Files)
      If you have separate .crt and .key files and need a single .pem file:
      1. Open a text editor like Notepad.
      2. Paste the contents of the certificate (including -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----).
      3. Paste the contents of the private key immediately below it.
      4. Save the file with a .pem extension.

how to export certificate in pem format | SSL / TLS issues.

For TLS implementation in EBS it support PEM format.   Exporting a certificate in  PEM format  depends on your current file type (e.g., .pfx...