WebDust21
WebDust21
> I really wonder what would be a valid reason not to have this being considered an error and stop compilation? Is there a practical use case to have it...
Probably the reason that more people aren't blowing this thread up, is because it is extremely difficult to pin down the cause/source of this bug. Only programmers that have notable...
> This is how it crashed my astronomy rig, leading me to spend the christmas tracing the issue to exactly here, to this thread. yup, it's not an easy bug...
> Does SSLClient support that? It is already part of the connection process, based on the hostname you provide for connection. The SNI is part of the connection sequence here:...
So I'm not completely alone in experiencing literally the exact same error as posted in the very beginning of this issue, namely: ``` [ 6623][V][ssl_client.cpp:722] perform_ssl_handshake(): Protocol is TLSv1.2 Ciphersuite...
Whoa, wait a minute....! A significant amount of code is missing in the above "perform_ssl_handshake" routine. Notice the "cli_cert" and "cli_key" parameters? Apart from a null-check at line 721, they...
OK, so looking closer...maybe everything's not missing. The client cert/key conversion routines are further up, and present: https://github.com/govorox/SSLClient/blob/eee87188d2a63f115681c836083d4cbc9f45e76d/src/ssl_client.cpp#L539-L567 But something else is missing/wrong, as the SSLClientESP32 uses the same "mbedtls_ssl_get_record_expansion"...
@Matt-Stedman-HardStuff > I can get the entire pipeline to work when I'm leveraging [alkonosst/SSLClientESP32](https://github.com/alkonosst/SSLClientESP32.git), although it's incredibly slow (4s for publish, 6s for loop). But I'd like to use govorox's...
> @WebDust21 - I use this library with AWS IoT and TinyGSM as it was the least painful one. I haven't tested the speed though as I'm only using this...
> Just a note to everyone that might be trying to get SSL working via a SIM7600 and leveraging TinyGSM, @floBik and I (though mostly @floBik) managed to leverage the...