Skip to content

Commit 118c7b7

Browse files
committed
Print device certificate
1 parent e7a9f89 commit 118c7b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ int ArduinoIoTCloudTCP::updateCertificate(String authorityKeyIdentifier, String
610610
DEBUG_ERROR("TCP::%s could not read device certificate.", __FUNCTION__);
611611
return 0;
612612
}
613+
Serial.println(_cert.getCertPEM());
613614
/* check if we need to update 0 = equal <0 = error skip rebuild */
614615
if(SElementArduinoCloudCertificate::signatureCompare(_cert.signatureBytes(), signature) <= 0) {
615616
DEBUG_INFO("TCP::%s request skipped.", __FUNCTION__);

0 commit comments

Comments
 (0)