Category: X.509 certificate usage or issue
The supplied certificate and private key do not match.
This error is reported by fmos pki import-cpl-cert when the supplied control panel certificate does not match the supplied private key.
In order to be usable, the control panel certificate and private key must match.
The only cause for this error is to provide a certificate and private key to the fmos pki import-cpl-cert command that do not match. A private key can only match a certificate if they both contain the same public key.
To resolve this error, pass the path to the correct certificate and private key files to fmos pki import-cpl-cert. The certificate and private key can be stored in the same file if that file is in PEM (base-64) or PKCS#12 format. They can also be stored in separate files.
If the certificate and private key are stored in separate files, pass the paths to these files as separate command-line arguments:
fmos pki import-cpl-cert certificate.pem private-key.pem
If the certificate and private key are stored in the same file, pass the path to the file as a single command-line argument:
fmos pki import-cpl-cert cert-and-key.p12