Open topic with navigation
Causes a script to use a specific certificate that is listed in the Internet Explorer registry.
int web_set_certificate( const char *CertificateNumber );
int object.set_certificate( String certificateNumber);
This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.
The following argument(s) can be parameterized using standard parameterization: CertificateNumber
web_set_certificate specifies the number of a certificate within the list of certificates. The specified certificate is then used whenever a secure Web server requires the client to present a certificate.
When installing a certificate with private key in Internet Explorer, if you choose strong private key protection, you can set the security level of this certificate. The default is medium. The socket mode cannot handle high level security with the CertificateNumber parameter. If you do not use CertificateNumber, the security level can be high but then you must provide the certificate password.
The Wininet mode only handles the low security level.