CertStore Parameter (Get-SFTP Cmdlet)
The name of the certificate store for the client certificate.
Get-SFTP -CertStore string
CertStore is used in conjunction with the CertSubject parameter in order to specify client certificates. If CertStore has a value, and CertSubject has been set, a search for a certificate is initiated during logon. Please refer to the CertSubject parameter for details.
Designations of certificate stores are platform-dependent.
The following are designations of the most common User and Machine certificate stores in Windows:
|MY||A certificate store holding personal certificates with their associated private keys.|
|CA||Certifying authority certificates.|
|SPC||Software publisher certificates.|
When the certificate store type is PFXFile, this parameter must be set to the name of the file.