Internal Server Error (500) when calling adcsEnrollmentCertificate

Hello,

I am using the REST API to create a Certificate Authority in MobiControl. I have successfully called the APIs to create the CA (adcsHttps), add the root certificate (adcsRootCertificate) and add the template information (certificateTemplates).  The final piece to complete this for me is to add the enrollment certificate to the CA. This is done using adcsEnrollmentCertificate.

I have followed the documentation and formatted the request exactly as required, however I keep receiving an Internal Server Error (500).

Can anyone offer me some advice on how to debug this?  I have made sure the certificate pfx file does not contain and certificate chains (this is a requirement). And the Certificate Authority created in MobiControl from this script will allow me to manually load the enrollment certificate pfx after the script is run (so I'm pretty confident its not the format of the PFX file).

Here is a snippet of my code (Powershell):

Thanks!

Andy

2 years ago
SOTI MobiControl
ANSWERS
A
AKMOD@SOTI
2 years ago

Hi Andy,

As this need thorough investigation , I would highly recommended that you log a case so that we can delve deeper into the matter.

We request you to please raise a support case at  log a case so that our agent can work on your query as quickly as possible

Kind Regards