You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,3 +464,9 @@ The communication channel between the client program or SDK and the Trend Vision
464
464
The certificate employed by server-side TLS is a publicly-signed certificate from Trend Micro Inc, issued by a trusted Certificate Authority (CA), further bolstering security measures.
465
465
466
466
The File Security SDK consistently adopts TLS as the default communication channel, prioritizing security at all times. It is strongly advised not to disable TLS in a production environment while utilizing the File Security SDK, as doing so could compromise the integrity and confidentiality of transmitted data.
467
+
468
+
## Disabling certificate verification
469
+
470
+
For customers who need to enable TLS channel encryption without verifying the provided CA certificate, the `TM_AM_DISABLE_CERT_VERIFY` environment variable can be set. However, this option is only recommended for use in testing environments.
471
+
472
+
When `TM_AM_DISABLE_CERT_VERIFY` is set to `1`, certificate verification is disabled. By default, the certificate will be verified.
Copy file name to clipboardExpand all lines: grpc.go
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ const (
37
37
_envvarAuthKeyNotRequired="TM_AM_AUTH_KEY_NOT_REQUIRED"// Set to 1 and Client SDK will not send auth key to server; set to 0 or leave empty to disable.
_envvarDisableTLS="TM_AM_DISABLE_TLS"// Set to 1 to not use TLS for client-server communication; set to 0 or leave empty otherwise.
40
+
_envvarDisableCertVerify="TM_AM_DISABLE_CERT_VERIFY"// Set to 1 to disable server certificate check by client; set to 0 or leave empty to verify certificate.
0 commit comments