So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Micha59
#73859 Hello,
I'm working with ESP-01 and some I²C sensors. I'm using the Ardiuno IDE. I send data to a php script at the web site and than to a MySQL database. Now I want to secure the access. A solution with fingerprint work but this needs an update if the certificate changes. So I tried the example HTTPSRequestCACert.ino with the function verifyCertChain from the esp8266 environment. The example works, but not with the certificate of the ssl proxy of my web page https://ssl.webpack.de/. I tried certificates from other web sites, most are working, some not. I extract the DER certificate, transfer that to a linux system and create the certificate file with:
Code: Select allxxd -i GlobalSignRootCA.der CACert_webpack.ino

Certificates from ebay, paypal, onedrive, cloudmqtt are working with this way.

Is it possible to get an error code to identify the problem? Or has anybody an idea why the certificate doesn't work. I have attached the certificate.

Regards Michael
You do not have the required permissions to view the files attached to this post.