IZfePropertyKeysCertificateWhitelist Property |
The key value for hosts whose certificates are trusted.
Namespace:
MicroFocus.ZFE.Connector
Assembly:
MicroFocus.ZFE.Connector (in MicroFocus.ZFE.Connector.dll) Version: 1.5.532.0 (1.5.532.0)
Syntax string CertificateWhitelist { get; }
ReadOnly Property CertificateWhitelist As String
Get
Property Value
Type:
StringRemarks
If the connection to the session server is secure (https://) and the server's SSL certificate
is not present in the certificate store, you may set the value of this property to the server's
hostname to indicate that the connection is trusted. Multiple hostnames may be specified as
a comma-delimited list. If a domain name is specified (e.g. ".domain.com"), all hosts in the
domain will be trusted. A single wildcard character ("*") may also be used to accept any certificate
from any host, but this is not recommended.
Note that using the CertificateWhitelist property could allow connections to a rogue server since only the
hostname is used for validation. Therefore, it is recommended that any certificates that are to be trusted
reside in your certificate store.
Examples
Visual Basic for Applications:
Dim props As ZfeProperties
Dim propKeys As ZfePropertyKeys
Set props = new ZfeProperties()
Set propKeys = new ZfePropertyKeys()
props.SetProperty propKeys.CertificateWhitelist, "your.sessionserver.com"
C#:
IZfeProperties props = new ZfeProperties();
props.SetProperty(ZfePropertyKeys.CertificateWhitelistKey, "your.sessionserver.com");
See Also