Establishing trust in your curl commands

Enterprise DC/OS Preview Updated: March 30, 2017

Prerequisite: A local copy of the root certificate of your DC/OS CA.

If you have not set up a proxy, you should use --cacert dcos-ca.crt in your curl commands in permissive and strict security modes.

An example follows which assumes that the file is named dcos-ca.crt and located in the current directory.

curl -X GET --cacert dcos-ca.crt -H "Authorization: token=$(dcos config show core.dcos_acs_token)" $(dcos config show core.dcos_url)/acs/api/v1/users