Jump to content


Photo

Problems configuring certificates for IoT-Edge transparent gateway

gatway commands

  • Please log in to reply
No replies to this topic

#1 Gnanasekar

Gnanasekar
  • Members
  • 1 posts

Posted 26 September 2018 - 02:26 AM

I am following the directions here: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway.
 
When I create the certificates using OpenSSL and the 'New-CACertsEdgeDevice myGateway' commands, I end up with an Elliptical Curve based private key which fails when I configure the edge gateway with the message
 
"Currently https://www.facebook.com/MindMajixTechnologies/is only supported".
 
I modified the New-CACertsCertChain script in ca-certs.ps1 (set the $useEcc var to $false) and reran. The script succeeds, but now the New-CACertsEdgeDevice script fails with:
 
New-SelfSignedCertificate : Cannot convert 'System.Object[]' to the type 'Microsoft.CertificateServices.Commands.Certificate' required by parameter 'Signer'. Specified method is not supported.
 
Any idea what I am doing wrong?