遵循针对create-transparent-gateway-windows的教程时的证书错误 [英] Certificate error when following tutorial for create-transparent-gateway-windows
问题描述
我正在遵循有关在Windows上将Edge创建为透明网关的最新教程(链接: gethostbyname failure connect:errno = 110 ",这里我的边缘计算机上的主机名显示为mygateway.我不明白这是什么错误.
I am following the latest tutorial for creating edge as a transparent-gateway on windows (link :
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway-windows). I have created the certificates on the edge machine itself (windows) and also verified using manage computer certificate utility, that the certificates are installed.
After the step of installation on the downstream device, I am trying OS level verification on raspberry pi with openssl
s_client -connect mygateway.contoso.com:8883 -CAfile $CERTDIR/azure-iot-test-only.root.ca.cert.pem -showcerts.
However I always get the error "gethostbyname failure connect:errno=110", here the hostname on my edge computer shows the name as mygateway. I do not understand what is the error.
我还在yaml文件中设置了相应的主机名.
I have also set the corresponding hostname in yaml file.
推荐答案
你好,AdityaKurude,
Hello AdityaKurude,
树莓派上正在运行什么操作系统?是Windows IoT核心吗?
What OS is running on the raspberry pi? Is it windows iot core?
您是否已检查网关主机是否在您的环境中?
Have you checked the gateway host is reach in your environment?
您可以尝试在边缘计算机上检查容器日志.
You can try to check the container log on the edge computer.
最好的问候,
Michael
这篇关于遵循针对create-transparent-gateway-windows的教程时的证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!