Fix SSL stuff

Do not use CA bundle on CC3200, it doesn't work.
Make ssl_ca_cert = "*" mean "no verification" and make sure
SSL is enabled on the connection when it's required, even w/o verification.

PUBLISHED_FROM=c8710a5d24ecfe174ef45b7f81c114d41faf5c12
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-07-14 13:19:55 +00:00
1 parent 613ae4ee34
commit 9f78a2902b
3 files changed
+59 -47

No files matched your search

+3 -1
View File
@@ -13,7 +13,9 @@ signature: |
const char *ssl_key; /* Private key corresponding to the certificate.
If ssl_cert is set but ssl_key is not, ssl_cert
is used. */
const char *ssl_ca_cert; /* Verify server certificate using this CA bundle */
const char *ssl_ca_cert; /* Verify server certificate using this CA bundle.
If set to "*", then SSL is enabled but no cert
verification is performed. */
/*
* Server name verification. If ssl_ca_cert is set and the certificate has