How to change the `default` folder of `pem` file
Hi, thanks for the helpful tool.
You are saying in the docs: During the installation of the module, it downloads the latest certificates from the Mozilla database and builds the PEM file in node_modules/node_extra_ca_certs_mozilla_bundle/ca_bundle folder. This pose a prob in the bundled npm packages like many cases (the package will be bundled in dist folder which doesnot have node_modules folder in it) !
Any ideas how to solve this issue ?
The location is not hardcoded (except in the message), so ideally it should install it in the right location.
Excuse my ignorance ! What u mean by so ideally it should install it in the right location ? node_modules folder ?
Where ever the module is installed. Basically it creates the folder in the same location as installation directory. So yes by default it is node_modules.
What I have meant is how can I dowload those certs in a custom folder not in node_modules ?