ESP8266 wificlient secure

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

Google Play
App Store
Windows 10 Store
Posts: 7
Joined: 24. Feb 2021, 20:41

ESP8266 wificlient secure

Postby Max4444 » 8. Mar 2021, 01:26

Hello all,
Has anyone got the wificlientsecure running?

I have done the following and also changed Debug to "true"
the serial port seems to print the same information and seems okay at my end.
Nothing printed that seems"debug" type errors.
All works fine the standard way, i just wanted to improve security.


on there also a SSL example included.

You have to change the following lines

1. ... ushsafer.h
Line: 30,31
/*#define SSL_PORT 443*/
#define PORT 80
#define SSL_PORT 443
/*#define PORT 80*/
2. ... hsafer.cpp
Line: 36,37
/*if (client->connect(HOST, SSL_PORT)) {*/
if (client->connect(HOST, PORT)) {
if (client->connect(HOST, SSL_PORT)) {
/*if (client->connect(HOST, PORT)) {*/
3. ... dEvent.ino
Line: 1,2
#include <ESP8266WiFi.h>
/*#include <WiFiClientSecure.h>*/
/*#include <ESP8266WiFi.h>*/
#include <WiFiClientSecure.h>

Who is online

Users browsing this forum: No registered users and 2 guests