WiFiClientSecure fix flipped cert/key in comment (#5065)
This commit is contained in:
parent
01c8cae0dc
commit
11f89cddf6
@ -66,8 +66,8 @@ void setup() {
|
|||||||
Serial.println(ssid);
|
Serial.println(ssid);
|
||||||
|
|
||||||
client.setCACert(test_root_ca);
|
client.setCACert(test_root_ca);
|
||||||
//client.setCertificate(test_client_key); // for client verification
|
//client.setCertificate(test_client_cert); // for client verification
|
||||||
//client.setPrivateKey(test_client_cert); // for client verification
|
//client.setPrivateKey(test_client_key); // for client verification
|
||||||
|
|
||||||
Serial.println("\nStarting connection to server...");
|
Serial.println("\nStarting connection to server...");
|
||||||
if (!client.connect(server, 443))
|
if (!client.connect(server, 443))
|
||||||
|
@ -72,8 +72,8 @@ void setup() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
client.setCACert(test_root_ca);
|
client.setCACert(test_root_ca);
|
||||||
//client.setCertificate(test_client_key); // for client verification - certificate
|
//client.setCertificate(test_client_cert); // for client verification - certificate
|
||||||
//client.setPrivateKey(test_client_cert); // for client verification - private key
|
//client.setPrivateKey(test_client_key); // for client verification - private key
|
||||||
Serial.println("");
|
Serial.println("");
|
||||||
Serial.println("WiFi connected");
|
Serial.println("WiFi connected");
|
||||||
Serial.println("IP address set: ");
|
Serial.println("IP address set: ");
|
||||||
|
Loading…
Reference in New Issue
Block a user