When installing a certificate an error may occur The specified key is not valid for the certificate.
To fix the situation, try the following:
-----BEGIN
and -----END
, and strings containing the certificate and key data. If blank lines are present, remove them and save your changes.If there are no blank lines in the files, but the error still occurs, contact the certificate provider for possible causes of the problem.