The InvalidCertificateAction property gets or sets the Invalid Certificates option in the Security tab of the Security window.
object.InvalidCertificateAction
object.InvalidCertificateAction = Value
| Value | Description |
|---|---|
| 0 | Always Reject |
| 1 | Ask Before Accepting |
| 2 | Always Accept |