CmdID

CmdID / Commands / bitsadmin

bitsadmin setclientcertificatebyname

Specifies the subject name of the client certificate to use for client authentication in an HTTPS (SSL) request. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
bitsadmin /setclientcertificatebyname <job> <store_location> <store_name> <subject_name>

To specify the name of the client certificate myCertificate to use for client authentication in an HTTPS (SSL) request for the job named myDownloadJob

bitsadmin /setclientcertificatebyname myDownloadJob 1 MY myCertificateIdentify
jobThe job's display name or GUID.
store_locationIdentifies the location of a system store to use for looking up the certificate. Possible values include: - 1 (CURRENT_USER) - 2 (LOCAL_MACHINE) - 3 (CURRENT_SERVICE) - 4 (SERVICES) - 5 (USERS) - 6 (CURRENT_USER_GROUP_POLICY) - 7 (LOCAL_MACHINE_GROUP_POLICY) - 8 (LOCAL_MACHINE_ENTERPRISE)
store_nameThe name of the certificate store. Possible values include: - CA (Certification Authority certificates) - MY (Personal certificates) - ROOT (Root certificates) - SPC (Software Publisher Certificate)
subject_nameName of the certificate.