.Curl.SSL.VerifyPeer (gb.net.curl)

Property VerifyPeer As Boolean

Return or set whether curl verifies the authenticity of the peer's certificate.

When negotiating a SSL connection, the server sends a certificate indicating its identity. Curl verifies whether the certificate is authentic, i.e. that you can trust that the server is who the certificate says it is. This trust is based on a chain of digital signatures, rooted in certification authority (CA) certificates you supply.

When this property is set, and the verification fails to prove that the certificate is authentic, the connection fails. Otherwise, the peer certificate verification succeeds regardless.

Authenticating the certificate is not by itself very useful. You typically want to ensure that the server, as authentically identified by its certificate, is the server you mean to be talking to. Use VerifyHost to control that.