# SetHTTPVerifyCertificate

## Description

Sets whether the device should verify the SSL certificate when making a secure connection. If the server you are connecting to is using a self signed certificate you will need to set this to 0 or the connection will fail. In all other cases you must leave this at 1 to ensure a secure connection to the server. Turning off verification will turn off protection against man in the middle attacks on SSL connections.

## Definition

SetHTTPVerifyCertificate( iHTTP, mode )

void agk::SetHTTPVerifyCertificate( UINT iHTTP, int mode )

## Parameters

- iHTTP - The ID of the connection to set.
- mode - 1 to verify, 0 to not verify.