ServerCommandService WSDL - credentials

Hi guys,

I’m trying to integrate to milestone in order to get all the URIs of the cameras. We’re using the WSDL: https://ip:443/ManagementServer/ServerCommandService.svc?wsdl with basic user auth (that we created at Milestone Xprotect management client). But we’re getting SSL:CERTIFICATE_VERIFY_FAILED

We’ve read: https://doc.developer.milestonesys.com/html/gettingstarted/intro_soap_protocols.html but it is still not clear to us.

Is there a way to generate a certificate? since we are using HTTPS-SSL

We perform the protocol integration in python.

Can you please add a code snippet or a specific example for communicate with ServerCommandService?

Thanks in advance.

It sounds like you need to either add the Management Server IIS certificate to your trusted root certificate authority list, or setup a certificate on your management server which has been signed by a trusted root certificate authority you already trust, or last option - add a ​custom certificate validation handler to give you the option to accept the untrusted certificate.

I’ll have to see if I can find a link to the certificate guide we published a while back with suggestions on how to generate your own CA certificate and use it to sign end point certificates. In general though there’s nothing unique to certificate management with Milestone other than to use the Server Configurator tool to update set the certificates to use.