[GH-ISSUE #839] BearSSL and WifiManager #703

Open
opened 2026-02-28 01:26:41 +03:00 by kerem · 5 comments
Owner

Originally created by @quarterturn on GitHub (Mar 1, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/839

Any chance of supporting BearSSL in the future? It would be nice to be able to use like BearSSL::WiFiClientSecure connection; to facilitate things like MQTT with SSL CA cert.

Originally created by @quarterturn on GitHub (Mar 1, 2019). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/839 Any chance of supporting BearSSL in the future? It would be nice to be able to use like BearSSL::WiFiClientSecure connection; to facilitate things like MQTT with SSL CA cert.
Author
Owner

@tablatronix commented on GitHub (Mar 1, 2019):

I admit I am ignorant on the subject, it is possible, can you provide an example ?

I mean wifimanager manages your wifi connection, what does this really have to do with that?

<!-- gh-comment-id:468809502 --> @tablatronix commented on GitHub (Mar 1, 2019): I admit I am ignorant on the subject, it is possible, can you provide an example ? I mean wifimanager manages your wifi connection, what does this really have to do with that?
Author
Owner

@quarterturn commented on GitHub (Mar 1, 2019):

I realize now WifiManager also doesn't work with PubSubClient (for MQTT) so I've had to use the workaround here: https://github.com/CurlyWurly-1/ESP8266-WIFIMANAGER-MQTT/blob/master/MQTT_with_WiFiManager.ino

(I dropped using SSL too for the time being until I get the example above working. FYI use the 5.x ArduinoJson library or you'll have to rewrite the whole thing for 6.x.

I'm not really a C++ expert, but I think BearSSL needs to be able to scope to WifiManager in the same was as WifiClientSecure to be able to work with the connection parameters.

<!-- gh-comment-id:468812108 --> @quarterturn commented on GitHub (Mar 1, 2019): I realize now WifiManager also doesn't work with PubSubClient (for MQTT) so I've had to use the workaround here: https://github.com/CurlyWurly-1/ESP8266-WIFIMANAGER-MQTT/blob/master/MQTT_with_WiFiManager.ino (I dropped using SSL too for the time being until I get the example above working. FYI use the 5.x ArduinoJson library or you'll have to rewrite the whole thing for 6.x. I'm not really a C++ expert, but I think BearSSL needs to be able to scope to WifiManager in the same was as WifiClientSecure to be able to work with the connection parameters.
Author
Owner

@tablatronix commented on GitHub (Mar 1, 2019):

Yeah no idea what is up with pubsubclient, it should work, I think people are just not including stuff properly. I might take a look at that one day.

Still not sure I get it, you want wifimanager to be ssl ? Or you want to be able to use wificlientsecure in your program, I do not see why you cannot use both..

<!-- gh-comment-id:468843473 --> @tablatronix commented on GitHub (Mar 1, 2019): Yeah no idea what is up with pubsubclient, it should work, I think people are just not including stuff properly. I might take a look at that one day. Still not sure I get it, you want wifimanager to be ssl ? Or you want to be able to use wificlientsecure in your program, I do not see why you cannot use both..
Author
Owner

@dontsovcmc commented on GitHub (Mar 27, 2019):

@quarterturn I think the issuu is incorrect. WifiManager is WebServer and you ask for HTTPS client support.
Maybe there is any library compiling conflicts?

I use BearSSL with WifiManager:
http & https: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/WateriusHttps.cpp
wifimanager: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/setup_ap.cpp

<!-- gh-comment-id:476928965 --> @dontsovcmc commented on GitHub (Mar 27, 2019): @quarterturn I think the issuu is incorrect. WifiManager is WebServer and you ask for HTTPS client support. Maybe there is any library compiling conflicts? I use BearSSL with WifiManager: http & https: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/WateriusHttps.cpp wifimanager: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/setup_ap.cpp
Author
Owner

@dontsovcmc commented on GitHub (Mar 27, 2019):

@quarterturn I think the issuu is incorrect. WifiManager is WebServer and you ask for HTTPS client support.
Maybe there are any library compiling conflicts?

I use BearSSL with WifiManager:
http & https: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/WateriusHttps.cpp
wifimanager: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/setup_ap.cpp

<!-- gh-comment-id:476928968 --> @dontsovcmc commented on GitHub (Mar 27, 2019): @quarterturn I think the issuu is incorrect. WifiManager is WebServer and you ask for HTTPS client support. Maybe there are any library compiling conflicts? I use BearSSL with WifiManager: http & https: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/WateriusHttps.cpp wifimanager: https://github.com/dontsovcmc/waterius/blob/master/ESP8266/src/setup_ap.cpp
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#703
No description provided.