Category: X.509 certificate usage or issue
The supplied certificate and private key do not match.
This error is reported by fmos pki import-server-cert when the supplied server certificate does not match the supplied private key.
In order to be usable, the server 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-server-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-server-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-server-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-server-cert cert-and-key.p12