Cannot set X509 finger print for IoT Edge/IoT Device on Azure Portal

KeitaNozaki 15 Reputation points
2023-02-13T03:10:29.13+00:00

I have made iot edge certs according to https://learn.microsoft.com/ja-jp/azure/iot-edge/how-to-create-test-certificates?view=iotedge-1.4&tabs=linux

$ ./certGen.sh create_root_and_intermediate
$ ./certGen.sh create_edge_device_identity_certificate "XXXX" 

And, I get fingerprint from command, like below

$ openssl x509 -in XXXX.cert.pem -fingerprint -sha256 -noout

SHA256 Fingerprint=XX:YY:ZZ:CD....:20

I try to register IoT Edge on Azure Portal, put value " XX:YY:ZZ:CD....:20" at "Primary Thumbprint",

then same error always occurs.

error message is "Invalid X.509 thumbprint."

What went wrong?

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
594 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KeitaNozaki 15 Reputation points
    2023-02-13T05:09:46.8133333+00:00

    I figure out by myself...

    It goes well, when colon(":") is deleted.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.