Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
4.5.0
-
Untriaged
-
Unknown
Description
I'm using a public CA in this example from https://letsencrypt.org/certificates/
Step 1: Download intermediate certificate by mistake
wget https://letsencrypt.org/certs/letsencryptauthorityx1.pem
mv letsencryptauthorityx1.pem ca.pem
Dons-MacBook-Pro:root don$ curl -X POST --data-binary "@./ca.pem" http://Administrator:password@127.0.0.1:8091/controller/uploadClusterCA
{"error":"Malformed certificate"}It should not just say malformed certificate, it should say, why it failed? Is it because it's not a CA certificate?