https://github.com/leonrinkel/esp32-https-client-certificate-auth
https://github.com/leonrinkel/esp32-https-client-certificate-auth
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leonrinkel/esp32-https-client-certificate-auth
- Owner: leonrinkel
- Created: 2018-09-14T15:54:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T16:03:23.000Z (almost 8 years ago)
- Last Synced: 2025-06-02T23:54:18.733Z (about 1 year ago)
- Language: C
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# esp32 mbedtls https with client certificate 🆒🔑
## Valid client certificate (CN=client1)
```
I (437831) example: Connected to AP
I (437831) example: Connecting to leons-mbp.fritz.box:5000...
I (437851) example: Connected.
I (437851) example: Performing the SSL/TLS handshake...
I (439761) example: Verifying peer X.509 certificate...
I (439761) example: Certificate verified.
I (439761) example: Cipher suite is TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
I (439771) example: Writing HTTP request...
I (439781) example: 111 bytes written
I (439781) example: Reading HTTP response...
HTTP/1.1 200 OK
Date: Fri, 14 Sep 2018 15:55:29 GMT
Connection: close
hello client1
```
## Revoked client certificate
```
I (729421) example: Connected to AP
I (729421) example: Connecting to leons-mbp.fritz.box:5000...
I (729481) example: Connected.
I (729481) example: Performing the SSL/TLS handshake...
E (731521) example: mbedtls_ssl_handshake returned -0x7280
E (731531) example: Last error was: -0x7280 - SSL - The connection indicated an EOF
```