cPanel Api 2 install SSL problem
Hi, I am trying to install new SSL following the documentation
cPanel API 2 Functions - SSL::installssl - Software Development Kit - cPanel Documentation, but when I make a request to install certificate I get this response from the API:
{"cpanelresult":{"error":"The ASN.1 data is corrupt. Its header indicates a length of 67 bytes, but its content is 531 bytes long.","postevent":{"result":1},"module":"SSL","event":{"result":1},"preevent":{"result":1},"data":[{"result":0,"output":"The ASN.1 data is corrupt. Its header indicates a length of 67 bytes, but its content is 531 bytes long."}],"func":"installssl","apiversion":2}}-
I switched to the Uapi and everything works fine you can close the thread, Thank you! 0 -
Hello, I'm happy to see you were able to address the issue by using the regarding what likely lead to the issue: The HTTP GET method has a limited field length that does not accommodate this function's input parameters. You must use HTTP POST.
Thank you.0
Please sign in to leave a comment.
Comments
2 comments