CertificateSubject Parameter (Connect-JIRA Cmdlet)
The subject of the certificate used with Jira Private Application authentication.
Syntax
Connect-JIRA -CertificateSubject string
Data Type
cstr
Default Value
""
Remarks
The subject of the client certificate used in Jira private application authentication.
About the Jira Client SSL Auth Flow
Jira private application authentication uses SSL client authentication with digital certificates.
Loading a Certificate
When loading a certificate the subject is used to locate the certificate in the store.
- If an exact match is not found, the store is searched for subjects containing the value of the property.
- If a match is still not found, no certificate is selected.
- The special value "*" picks the first certificate in the certificate store.
Specifying the Subject
The certificate subject is a comma-separated list of distinguished name fields and values. For instance "CN=www.server.com, OU=test, C=US, [email protected]". Common fields and their meanings are displayed below.
Field | Meaning |
CN | Common Name. This is commonly a host name like www.server.com. |
O | Organization |
OU | Organizational Unit |
L | Locality |
S | State |
C | Country |
E | Email Address |
Note: If a field value contains a comma it must be quoted.
Additional Connection Properties
To specify the private certificate, you need to set CertificateSubject and the following additional properties: