Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGlobalSettings.CertificateMode Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.CertificateMode Property
Setting determines the level of strictness required for certificate validation

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFGlobalSettingsCertValidationMode CertificateMode { get; set; }
Public Shared Property CertificateMode As AFGlobalSettingsCertValidationMode
	Get
	Set

Dim value As AFGlobalSettingsCertValidationMode

value = AFGlobalSettings.CertificateMode

AFGlobalSettings.CertificateMode = value
public:
static property AFGlobalSettingsCertValidationMode CertificateMode {
	AFGlobalSettingsCertValidationMode get ();
	void set (AFGlobalSettingsCertValidationMode value);
}
static member CertificateMode : AFGlobalSettingsCertValidationMode with get, set

Property Value

Type: AFGlobalSettingsCertValidationMode
This setting is used by clients to determine requirements for certificate validation during the connection to the server. This value defaults to AllowExpiredOrRevoked

Remarks

If the option is set to SystemDefault the certificate must be non-expired with a valid certificate chain. If the option is set to AllowExpiredOrRevoked the certificate can be expired or revoked but must have a valid certificate chain. If the option is set to None any certificate will be accepted.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in