I receive this error when I try to import a certificate on AWS ACM.
Provided certificate is not a valid self signed. Please provide either a valid self-signed certificate or certificate chain.
The certificated I have are initially in .pfx format and I use sslshopper: https://www.sslshopper.com/ssl-converter.html to convert them into pem. There is only certificate body and private key present in the converted pem format and no certficate chain. Can this be the reason of this error.
But I thought cert chain is optional .
The format of private key and cert body seems to be correct and is enclosed between
---Begin cert body/privateKey
---End cert body/privateKey
What can be the issue here ?
The cert body and the cert private key seems to be ok to me as it clearly shows me the name,expiry date etc once I paste the contents into the respective fields (please refer the green content in the attached screenshot.)
Somehow the issue was because of the missing cert chain. Received cert chain from the cert provider and used all 3 (key,cert body & cert chain) while uploading it on ACM and all worked fine.