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 Store
Homepage
Max4444

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.

Regards

--------------------------------------------------------------------------------------
on https://github.com/appzer/pushsafer-arduino-library there also a SSL example included.

You have to change the following lines

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

Who is online

Users browsing this forum: Google [Bot] and 40 guests