eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.21k stars 867 forks source link

#972: add trustInsecureDownloadRoot parameter to plugins #1027

Open sdoeringNew opened 2 years ago

sdoeringNew commented 2 years ago

Summary

Different download roots for Node, NPM, Yarn, etc. can be specified. Those download roots might have HTTPS connections with self signed certificate. For all those connections an additional plugin configuration has been added. It's called: trustInsecureDownloadRoot This might solve issue #972. The issue description is more or less vague. For me it fixed the local problem with self signed certificates.

Tests and Documentation

Of course, tests and documentation have been added. And while adding tests a bug was discovered. Downloads via Proxy with BasicAuth did not work. This has been fixed while at it.

west1cles commented 2 years ago

@sdoeringNew thank you so much for this. I was banging my head on my desk for days trying to bypass some cert issues and I was able to get passed it with this.

sdoeringNew commented 2 years ago

Glad to here it. 👍 Unfortunately the PR is still not approved.

wajda commented 1 year ago

Hi, is there any progress on this? Thank you.

Shrishti217 commented 6 months ago

@sdoeringNew thank you so much for this. I was banging my head on my desk for days trying to bypass some cert issues and I was able to get passed it with this.

-->Can you please let me know how did you resolve this issue.