Article - CS412176

Certificate import fail with Error "Failed to import the certificate. The format is invalid" in PTC Kepware Products

Modified: 14-Mar-2024   


Applies To

  • ThingWorx Kepware Server 8.0 to 6.15
  • KEPServerEX 6.0.2107.0 to 6.15

Description

  • Certificate import fail with Error "Failed to import the certificate. The format is invalid" in PTC Kepware Products 
  • I continue to get errors when attempting to install ssl certificates into the server application.
    • I have validated the PEM formatted certificates using several methods yet Kepware does not accept it
  • I am trying to import a certificate for the Configuration API Service so that I has use HTTPS
    • No matter what I do, the import fails with Failed to import the certificate. The format is invalid
    • I have tried with and without the private key
    • I have tried exporting the certificate created by OpenSSL within kepware and then import that certificate back and even that certificate fails with format is invalid
This is a printer-friendly version of Article 412176 and may be out of date. For the latest version click CS412176