Convert Unsupported Certificates
With the upgrade to OpenSSL 3, Kraken versions 4.0 and up do not support PKCS#12-formatted certificates that were generated using older versions of OpenSSL. When uploading such a certificate, if you get an "Error verifying uploaded file" message, use the instructions below to convert them to the proper format.
To convert them for use in Kraken:
- SSH into your Kraken and upload your certificate.
Run the following commands:
CODEINPUT_FILE=<input-file-here> openssl pkcs12 -in $INPUT_FILE -out tmp.crt -legacy -nodes # The resulting tmp.crt file should be importable by Kraken, but # if an updated PKCS12 file is preferred, run: openssl pkcs12 -export -in tmp.crt -out fixed.pfx
- Download the resulting
tmp.crt
orfixed.pfx
certificate and add them to Kraken's Certificates section as described in Importing a Certificate. Remove the temporary files from your system:
CODE# remove temp files rm -f tmp.crt rm -f fixed.pfx