My json file was formatted exactly because the one during the problem but none of the alternatives in this article worked out. Eventually I found a workaround on An additional Stackoverflow thread.syswide-cas loads certificates from pre-outlined directories (including /and many others/ssl/certs) and works by using node interior API so as to add the