Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the default folder of pem file #4

Open
atefBB opened this issue Jan 3, 2024 · 4 comments
Open

How to change the default folder of pem file #4

atefBB opened this issue Jan 3, 2024 · 4 comments

Comments

@atefBB
Copy link

atefBB commented Jan 3, 2024

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 ?

@arvind-agarwal
Copy link
Owner

The location is not hardcoded (except in the message), so ideally it should install it in the right location.

@atefBB
Copy link
Author

atefBB commented Jan 3, 2024

Excuse my ignorance ! What u mean by so ideally it should install it in the right location ? node_modules folder ?

@arvind-agarwal
Copy link
Owner

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.

@atefBB
Copy link
Author

atefBB commented Jan 8, 2024

What I have meant is how can I dowload those certs in a custom folder not in node_modules ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants