Comments (10)
Looks like the other side is not talking over SSL. Per SSL spec, fragment size can not exceed 16 kilobytes, but your log shows that message header indicates size >16k (37663, 61896, 52978, 26851).
(so there is no point in setting max_plain_length above 16*1024 bytes)
from axtls-8266.
@igrr what about Error: Invalid X509 ASN.1 file (X509 not ok) and your library supports tlsv1.1 right?
from axtls-8266.
That one is open in #10
from axtls-8266.
@igrr this is the error i receive at the server side:
1458292496: OpenSSL Error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
from axtls-8266.
Could you please give me an URL of the server so I can try myself?
from axtls-8266.
it is an MQTT broker (mosquitto) running at frezbo.com on port 8883, I can succesfully connect to it using MQTTfx a client for linux, how do i PM you the login details and cert files. The problem is that i cannot connect to the broker without providing a CA file to the MQTTfx client, but the esp8266 connects even if i do not load the CA file with the above mentioned error and frequent disconnections.
from axtls-8266.
Okay, i don't think i need login details or correct cert files to establish a TLS connection. Obviously the server will kick me out later on, but your issue happens during handshake, to that would be enough.
from axtls-8266.
@igrr I changed the MQTT library i was using from PubSubClient to Adafruit's MQTT library and now there seems to be no issue till now. The funny fact is that loading or not loading the CA cert have no effect whatsoever.
from axtls-8266.
Same error here :-((
webSocket.beginSSL("dcf77logs.de", 443,"/ajax/liveview");
[WSc] Disconnected!
please start sntp first !
Error: Invalid X509 ASN.1 file (X509 not ok)
from axtls-8266.
With >>> webSocket.beginSSL("dcf77logs.de", 80,"/ajax/liveview");
please start sntp first !
ssl->need_bytes=20527 violates spec
[WSc] Disconnected!
from axtls-8266.
Related Issues (20)
- Not a valid ASN.1 file HOT 5
- Merge new functions into the upstream axtls repository HOT 3
- SSL certificate size HOT 6
- upstream site is down HOT 1
- RSA_decrypt() /* BT Correct ?*/ Returns -1 What is BT? HOT 1
- Licensing clarification HOT 4
- realloc fail in more_comps() (bigint.c:1072) cause fatal exception 29
- axtls-8266 with non-OS SDK HOT 1
- ssl/version.h is old
- This lib is behind original codebase by several versions HOT 3
- Compiling and using current version crashes ESP after HTTPS connection HOT 2
- Implement slimmed-down root certificate store HOT 4
- Save heap memory by opening two socket connections using the same certificate? HOT 3
- client send RST after receive SYN-ACK
- callback to dynamically load CA certificate by "name" HOT 1
- tls_verify always returns -4 [X509_VFY_ERROR_NOT_YET_VALID] HOT 2
- Error: invalid handshake HOT 1
- build fails
- Update to 1.5.3
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 axtls-8266.