CertKeyPassword Property

The password for the certificate's private key (if any).

Object Oriented Interface

public function getCertKeyPassword();
public function setCertKeyPassword($value);

Procedural Interface

ipworkssftp_certmgr_get($res, 7 );
ipworkssftp_certmgr_set($res, 7, $value );

Default Value



The password for the certificate's private key (if any).

Some certificate stores may individually protect certificates' private keys, separate from the standard protection offered by the CertStorePassword. CertKeyPassword. This can be used to read such password-protected private keys.

Note: this property defaults to the value of CertStorePassword. To clear it, you must set the property to the empty string (""). It can be set at any time, but must be set before calling CertPrivateKey when the private key's password is different from the store's.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SFTP 2020 PHP Edition - Version 20.0 [Build 7941]