Appwrite hosted on digital ocean, function uses Dart 2.17 runtime, Endpoint set to https:// {public_server_ip} /v1
TL;DR
Solution: When using the server-side SDK in a Function and encountering a Handshake error with the client's CERTIFICATE_VERIFY_FAILED, one possible solution is to set `selfSigned` as `true` when using an IP address. However, it is recommended to use a domain instead of a raw public IP address. In the case of Appwrite hosted on Digital Ocean, with the function using Dart 2.17 runtime and the endpoint set to `https://{public_server_ip}/v1`, it is advisable to switch to using a domain instead of the raw IP address.