CertificateStoreType Parameter (Connect-Confluence Cmdlet)
Specifies the type of certificate store used with Confluence Private Application authentication.
Syntax
Connect-Confluence -CertificateStoreType string
Possible Values
USER, MACHINE, PFXFILE, PFXBLOB, JKSFILE, JKSBLOB, PEMKEY_FILE, PUBLIC_KEY_FILE, PUBLIC_KEY_BLOB, SSHPUBLIC_KEY_BLOB, P10BFILE, SSHPUBLIC_KEY_FILE, PPKFILE, XMLFILE, XMLBLOBData Type
cstr
Default Value
"USER"
Remarks
This property is only used when OAuthVersion is set to 1.0.
Set this property to the certificate store format that contains the client certificate used for OAuth 1.0 application authentication with Confluence.
The store type determines how cmdlet loads the certificate and private key used to sign OAuth 1.0 requests.
Specifying the Certificate Store Type
The CertificateStoreType property can take one of the following values:
| User | For Windows, this specifies that the certificate store is a certificate store owned by the current user. Note: This store type is not available in Java. |
| Machine | For Windows, this specifies that the certificate store is a machine store. Note: This store type is not available in Java. |
| PFXFile | The certificate store is the name of a PFX (PKCS12) file containing certificates. |
| PFXBlob | The certificate store is a string (base-64-encoded) representing a certificate store in PFX (PKCS12) format. |
| JKSFile | The certificate store is the name of a Java key store (JKS) file containing certificates. Note: This store type is only available in Java. |
| JKSBlob | The certificate store is a string (base-64-encoded) representing a certificate store in Java key store (JKS) format. Note: This store type is only available in Java. |
| PEMKeyFile | The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate. |
| PublicKeyFile | The certificate store is the name of a file that contains a PEM or DER-encoded public key certificate. |
| PublicKeyBlob | The certificate store is a string (base-64-encoded) that contains a PEM or DER-encoded public key certificate. |
| SSHPublicKeyBlob | The certificate store is a string (base-64-encoded) that contains an SSH-style public key. |
| P10BFile | The certificate store is the name of a PKCS10 file containing certificates. |
| SSHPublicKeyFile | The certificate store is the name of a file that contains an SSH-style public key. |
| PPKFile | The certificate store is the name of a file that contains a PPK (PuTTY Private Key). |
| XMLFile | The certificate store is the name of a file that contains a certificate in XML format. |
| XMLBlob | The certificate store is a string that contains a certificate in XML format. |
Related Connection Properties
To specify the private certificate, you may need to set the following properties in addition to CertificateStoreType:
- CertificateStore: Set this to the name of the certificate store. For example, "MY" for a Windows certificate store or the file name of a file store.
- CertificateStorePassword: If the store is password-protected, provide the password here.
- CertificateSubject: Set this to the subject of the certificate. To locate the certificate in the store, the cmdlet executes a search based on the specified subject. Refer to the CertificateSubject field for details.