bitsadmin setclientcertificatebyname
Specifies the subject name of the client certificate to use for client authentication in an HTTPS (SSL) request.
Syntax
bitsadmin /setclientcertificatebyname <job> <store_location> <store_name> <subject_name>
Parameters
Parameter | Description |
---|---|
job | The job's display name or GUID. |
store_location | Identifies the location of a system store to use for looking up the certificate. Possible values include:
|
store_name | The name of the certificate store. Possible values include:
|
subject_name | Name of the certificate. |
Examples
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 myCertificate
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for