CertificateSubject Parameter (Connect-Confluence Cmdlet)
The subject of the certificate used with Confluence Private Application authentication.
Syntax
Connect-Confluence -CertificateSubject string
Data Type
cstr
Default Value
""
Remarks
The subject of the client certificate used in Confluence private application authentication.
About the Confluence Client SSL Auth Flow
Confluence 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: