Cannot connect to CORE on TrueNAS

I have installed NextCloud and CORE via the built in docker system on TrueNAS.
I have verified that from a local shell I can curl to both applications correctly, and from a shell on NextCloud, I can curl successfully to Collabora, but when I curl from a shell in Collabora to NextCloud, I get this error:

cool@9327e296fd25:/$ curl -v https://nc.technospider.com/status.php
*   Trying 192.168.2.2:443...
* Connected to nc.technospider.com (192.168.2.2) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

I’m using NPM on another server to host the SSL certs and proxy the hosts.
Would appreciate some help.