嗨,
我正在尝试与AWS IoT端点建立具有相互TLS身份验证的MQTT连接。
我使用的命令是
AT + S.MQTTCONN =♯♯♯♯♯.iot.eu-西1.amazonaws.com,443,,2 ,,,,,,,,
(出于安全原因,我只部分粘贴主机名)。
验证服务器端证书似乎存在一些问题,因为我们总是收到以下错误:
AT-S.Cer
tificate错误:11
根据UM2114,错误意味着,但我无法理解哪个证书(客户端,服务器或ca)失败。
我已经有了
根据AN4963(和文件)中指定的约定,将AWS IoT根证书,客户端证书和客户端私钥分配到文件系统中。
值得一提的是,即使没有加载证书,仍会显示相同的错误;这让我相信在解析服务器证书时应该发生失败。
问题是由于我的错误使用造成的吗?或者这是模块的失败?
?
附件我发送端点发送的证书链和带有AT + S.STS结果的屏幕截图,希望它们可能有用。
非常感谢
#spwf04s #mqtt #iot #aws
以上来自于谷歌翻译
以下为原文
Hi,
I am attempting to establish an MQTT connection with mutual TLS authentication to a AWS IoT Endpoint.
The command I use is
AT+S.MQTTCONN=♯♯♯♯♯.iot.eu-west-1.amazonaws.com,443,,2,,,,,,,,
(I only paste the hostname partially for security reasons).
There seems to be some issue validating the server-side certificate, since we always receive the following error:
AT-S.Certificate Error:11
According to UM2114, the error means , but I fail to understand which certificate (client, server or ca) is failing.
I have already a
dded the AWS IoT root certificate, client certificate and client private key into the filesystem, according to the convention specified in AN4963 (, and files).
It may be worth mentioning that even if no certificates are loaded, the same error is still shown; this leads me to believe the failure should occur when parsing the server certificate.
Is the problem caused by my wrong usage? Or is it a failure of the module?
?
Attached I send the certificate chain the endpoint sends and a screenshot with the result of AT+S.STS, hoping they may be useful.
Many thanks
#spwf04s #mqtt #iot #aws