Skip to content

Commit 9966adb

Browse files
committed
Set Authority Key Identifier when re-constructing cert
1 parent 2989ad0 commit 9966adb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ArduinoCloud.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ int ArduinoCloudClass::begin(Client& net)
4848
ECCX08Cert.setIssuerOrganizationalUnitName("IT");
4949
ECCX08Cert.setIssuerCommonName("Arduino");
5050

51+
const byte authorityKeyIdentifier[20] = {
52+
0xb2, 0xed, 0xef, 0xed, 0x3b, 0xbf, 0xc7, 0x71, 0x75, 0x24, 0x33, 0xd1, 0xae, 0x8b, 0x54, 0xed, 0x97, 0x14, 0x7a, 0x1d
53+
};
54+
55+
ECCX08Cert.setAuthorityKeyIdentifier(authorityKeyIdentifier);
56+
5157
if (!ECCX08Cert.endReconstruction()) {
5258
return 0;
5359
}

0 commit comments

Comments
 (0)