copercini / esp8266-aws_iot

Some examples using x.509 certificates and TLSv1.2 under Arduino IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't convert .crt file into .der file

iotics opened this issue · comments

Hello, I followed your READ.md instructions carefully, but after downloading openssl software for windows, I am not able to convert .cert file into .der
Where should I run these commands,
$ openssl x509 -in aaaaaaaaa-certificate.pem.crt.txt -out cert.der -outform DER
$ openssl rsa -in aaaaaaaaaa-private.pem.key -out private.der -outform DER

in cmd or in PowerShell or in openssl?
Please help.