2 Commits

Author SHA1 Message Date
Alex Villacís Lasso
9f82a7ed3e Update/fix SSL example sketch to include required build_opt.h
Add missing build_opt.h to define the compile macro that is required to
actually enable SSL support. Also, add a comment to the source file
detailing this same requirement for Arduino projects using AsyncTCPSock.
2022-01-17 11:26:49 -05:00
Alex Villacís Lasso
9a6ab11adf Example exercising TLS capabilities with root certificate verification
This example opens an encrypted TLS connection to www.eff.org on port
443. Once the secure connection is negotiated and verified with the
embedded server certificate, this example is very similar to the earlier
raw_async_http_request example for plaintext. The compile-time define
ASYNC_TCP_SSL_ENABLED must be defined and enabled project-wide for this
example to actually enable and use the TLS support.
2021-10-22 15:18:12 -05:00