jamf-upload icon indicating copy to clipboard operation
jamf-upload copied to clipboard

[FR] Enable use of API certificate

Open grahampugh opened this issue 3 years ago • 0 comments

Issue raised in MacAdmins Slack DM by Kornel:

If using a certificate for authenticating via API, so we not only need to provide API credentials in Autopkg prefs file but also point to a local .pem file.

This should be possible to add as a curl parameter, like this:

        if cert:
            curl_cmd.extend(["--cert", self.env.get("CLIENT_CERT_PATH")]) 

grahampugh avatar Jul 20 '22 13:07 grahampugh