Not macOS, but XCode dev tools. Still, it is Apple that ships them for sure.
Does /etc/ssl/cert.pem not exist if you don't install XCode?
Does /etc/ssl/cert.pem not exist if you don't install XCode?