That will only output certs if you’ve added additional ones beyond what gets distributed IIRC.
cURL is working flawless everywhere else.
Are you certain you don’t have a proxy configuration in Nextcloud? You didn’t fill out the support template we can only make wild guesses. Specifically the output of occ config:list system.