CertificateStore Property  

Gets and sets the name of the server certificate store or file.


object.CertificateStore [= store ]


This property sets the name of the certificate store that contains the server certificate that should be used when accepting secure client connections. The certificate may either be stored in the registry or in a file. If the certificate is stored in the registry, then this property should be set to one of the following predefined values:

Store Name Description
CA Certification authority certificates. These are certificates that are issued by entities which are entrusted to issue certificates to other individuals or organizations. Companies such as VeriSign and Thawte act as certification authorities.
MY Personal certificates and their associated private keys for the current user. This store typically holds the client certificates used to establish a user's credentials. If a certificate store is not specified, this is the default value that is used.
ROOT Certificates that have been self-signed by a certificate authority. Root certificates for a number of different certification authorities such as VeriSign and Thawte are installed as part of the operating system and periodically updated by Microsoft.

In most cases the certificate will be installed in the user's personal certificate store, and therefore it is not necessary to set this property value because that is the default location that will be used to search for the certificate. This property is only used if the CertificateName property is also set to a valid certificate name.

This property may also be used to specify a file that contains the certificate. In this case, the property should specify the full path to the file and must contain both the certificate and private key in PKCS12 format. If the file is protected by a password, the CertificatePassword property must also be set to specify the password.

Data Type


See Also

CertificateName Property, CertificatePassword Property, Secure Property