Back

Function builder image

  • 1
  • Self Hosted
  • Functions
whataboutno13
30 Aug, 2024, 06:32

Hi there,

I want to build my functions, but the connection to (example) https://pub.dev fails due to an TLS error. This error occurs because I have to add a custom ca-certificate.

I've already mounted the etc/ssl/certs folder to the same folder in all appwrite docker images and a curl call to https://pub.dev does work without throwing an error.

Therefore I have two questions.

  1. In what image does the function build happen? Maybe I forgot to add the certificate there.
  2. Is there a single folder/place where I can mount the certificates once for all images to use?

Thanks for your help! Cheers! :appwritecheers:

TL;DR
Issue: User is experiencing TLS error when trying to connect to https://pub.dev for function building due to custom ca-certificate requirement. 1. Function build happens in the appwrite/function:tag image. 2. Mount custom certificates to /etc/ssl/certs in the appwrite/docker tag as a single folder for all images to use.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more