taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
496 stars 125 forks source link

Pushbullet connection failed #259

Closed aritonigr closed 2 years ago

aritonigr commented 2 years ago

Hello, I tried to use pushbullet example on an ESP8266 d1 mini unfortunately with no luck. What I have noted is that in the code there is this line: // HTTPS root certificate for api.pushbullet.com: GlobalSign Root CA - R2, expires 2021.12.15 Is there an update on this certificate? Can this cause the no connection issue?

I use the email example without any issue.

Dilbert66 commented 2 years ago

it's possible. Here's an easy way to know for sure. Replace line:

ipClient.setTrustAnchors(&pushbulletCert);

with this line instead:

ipClient.setInsecure();

This disables the certificate check. If it works after that, you can either leave it that way, or you can go on pushbullets site and download the newer root certificate and replace it in the code.

taligentx commented 2 years ago

Hi @aritonigr - thanks for the heads-up, I've updated the Pushbullet examples in the develop branch with the current root certificate for api.pushbullet.com. Let me know if this resolves the issue for you.

aritonigr commented 2 years ago

Hi @taligentx, yes now it works without any issue for me! Thank you!