mbedTLS error: -0x2700 calling HTT.query

Hi,

I’m trying to call HTTP.query() in mjs to https://geo.ipify.org.uk/api/v1

However, I see in my debug logs that it never succeeds, and always returns error:
mbedTLS error: -0x2700

I suspect this is because I’m missing a root certificate from my ca.pem file, but I can’t work out a) what certificate I need to add to my file and b) how to get the correct format to paste into the existing file.

Can somebody help?

Thanks!

check mbedTLS documentation
check ready-made examples
Google is your friend