Compiling packages with Platform SDK: curl error
I have installed the Platform SDK and a valid target following the instructions from the developer wiki; however, when trying to build ngfd in its project directory with mb2 -t sfos-armv7hl
(which is the name of my installed target) I'm getting following errors:
Download (curl) error for 'https://releases.jolla.com/releases/2.0.2.48/hotfixes/armv7hl/repodata/repomd.xml': Error code: Unrecognized error Error message: SSL certificate problem: unable to get local issuer certificate
The same error pops up for two other URLs. Now, if I type in one of those URLs into Firefox, it redirects me to, e.g. https://dvvwui2qyedk6.cloudfront.net/releases/2.0.2.48/hotfixes/armv7hl/repodata/repomd.xml, for the one I've posted above. Going back to curl, it downloads it correctly if I run it myself with the -L flag, otherwise it fails.
Does anyone have a workaround so the SDK can figure out package dependencies correctly?