microsoft / devkit-sdk

Arduino library and package for the MXChip IoT DevKit
https://aka.ms/devkit
MIT License
69 stars 52 forks source link

Generate X.509 certificate on Linux #930

Closed ArthurMa1978 closed 5 years ago

ArthurMa1978 commented 5 years ago

From @abhatikar on May 11, 2018 20:56

Hi,

How does one Generate X.509 certificate on ubuntu linux ? Is there a script or set of openssl commands ?

thanks

Copied from original issue: DevKitExamples/DevKitDPS#12

ArthurMa1978 commented 5 years ago

From @obastemur on August 15, 2018 23:8

clone https://github.com/Microsoft/devkit-sdk/

cd AZ3166/tools/dice_device_enrollment/src/dice_device_enrollment
make

so you will have it for your OS.. Beware, the name of the binary still be dps_cert_gen_mac.

ArthurMa1978 commented 5 years ago

From @obastemur on August 15, 2018 23:41

btw; you may need the https://github.com/Microsoft/devkit-sdk/pull/898 is merged first or simply use that makefile.