Comments (6)
In this case ssl-checker throws an error (so you must catch the promise), instead in other cases it's enough read the object from resolved function.
I will be happy if in this case the library doesn't throw an errore message but resolve the promise and get the usual message about certificate
from ssl-checker.
I suspect that the problem is the protocol used by library, it is possible change that?
from ssl-checker.
Can you please try using https
?
from ssl-checker.
Library:
Error: write EPROTO 8213996431112:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242: [1] [1] at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:87:16) { [1] errno: 'EPROTO', [1] code: 'EPROTO', [1] syscall: 'write' [1] }
from ssl-checker.
I should definitely handle this case 👍, But it seems that you don't have a certificate installed.
Also, what do you expect to happen?
from ssl-checker.
Or, leave the choice of protocol to the programmer
from ssl-checker.
Related Issues (20)
- [Query] Can I check a crt file in local when it is expired? HOT 2
- validFrom, validTo, and validFor are valid but valid is false HOT 3
- May change the export of your library HOT 1
- Resolve domain to IP address behind DNS
- Specify Proxy for request
- daysRemaining is not accurate HOT 1
- Revoked certificate is flagged as valid HOT 1
- Update npm repository version
- Handling unknown or unreachable domains HOT 1
- How to use a proxy?
- getaddrinfo ENOTFOUND Error on paths without a resource point.
- Valid wildcard certificate is not passing the check
- Module has no default export HOT 5
- False negative in certain websites HOT 1
- TypeError: sslChecker is not a function HOT 3
- subjectaltname causing valid cert to fail HOT 4
- Create new release 2.0.10 HOT 2
- Remove Valid Host Check as it does not cover all Domains
- Localhost get error HOT 1
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 ssl-checker.