WiFiClientSecure fix flipped cert/key in comment (#5065)

This commit is contained in:
Deffendor 2021-04-17 01:07:41 +02:00 committed by GitHub
parent 01c8cae0dc
commit 11f89cddf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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: ");