Comments (5)
So “unable to get local issuer certificate” typically occurs when Node.js or npm is unable to verify the SSL certificate of the server it’s connecting to. This can happen due to various reasons, such as corporate firewalls, outdated certificates, or strict SSL settings.
So you can maybe try:
1) Disable Strict SSL (Not Recommended for Production)
Run the command to disable strict SSL globally: npm config set strict-ssl false
if you’re using Yarn than : yarn config set "strict-ssl" false
2) Set the NODE_TLS_REJECT_UNAUTHORIZED Environment Variable
Run the command before executing your Node.js script: export NODE_TLS_REJECT_UNAUTHORIZED=0
3) Provide an Extra CA Certificate
If you have a custom CA certificate, you can set the NODE_EXTRA_CA_CERTS environment variable to point to it:
export NODE_EXTRA_CA_CERTS=/path/to/certfile.crt
Replace /path/to/certfile.crt with the actual path to your certificate file.
Note: bypassing SSL validation can expose your connections to security risks. If you’re working in a production environment, consider fixing the underlying issue (such as updating certificates or adjusting firewall settings) rather than disabling SSL checks.
You can watch this YouTube tutorial for more information (Highly recommend):
https://www.youtube.com/watch?v=sgNTXZaZTgw
from web-check.
Big Brain
from web-check.
Big Brain
????
from web-check.
Wow, that SSL YouTube tutorial is really helpful, I didn't know half that info!
Lol, but in all seriousness, @hasanbasri1993, you can either provide your SSL cert (I'm not sure how that would be done with Cloudflare tunnels), or I think that in Cloudflare if you set SSL mode to Strict / Full, then it should automatically assign SSL. As a workaround, since you're running locally you can also just set NODE_TLS_REJECT_UNAUTHORIZED=0
from web-check.
Closing, as more of a cloudflare question than bug with Web-Check.
But feel free to let me know if that doesn't work out below.
from web-check.
Related Issues (20)
- Feature request: Create a report in PDF format HOT 6
- Feature Request: Login feature HOT 1
- docker image versions
- ENHANCEMENT Add a bookmarking banner with keyboard shortcut
- Getting Different Results for Same Domain in Live Demo and Main Website HOT 2
- Trace route Leak HOT 2
- Unexpected token '<', "<!DOCTYPE "... is not valid JSON
- 15 Critical vulnerabilities found HOT 2
- Webcheck Docker and Apache
- Docker-only oriented version HOT 2
- . .
- Not working HOT 5
- A HOT 1
- how to disable Traceroute
- Screenshot broken HOT 1
- Problem with REACT_APP_ variables in docker run
- Hudson Rock Cybercrime Intelligence Free Integration
- Adding WHOIS API from ip2whois.com
- Stable order
- Docker Container Stops on Unraid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-check.