背景
实现SSL&MQTT双向认证
参考https://blog.csdn.net/espressif/article/details/78541435

步骤如下:
(1) 生成CA证书
见参考https://blog.csdn.net/espressif/article/details/78541435
(2) 开启MQTT服务器,专业的说法是消息代理

(3)开启MQTT客户端

出现错误,回看消息代理端:

该问题的解决:
折腾了两天找到了外国小哥的解决办法
参考了https://www.eclipse.org/lists/mosquitto-dev/msg00196.html

则,重新开启MQTT客户端

(4)重开一个终端,发布消息

(5)查看客户端,验证问题是否解决

成功!!!

mosquitto1.6.2 Error: A TLS error occurred.(解决)相关推荐

  1. eclipse生成java项目出错,Java项目使用了HttpClients相关包,用eclipse导出jar包就不能正常运行Error: A JNI error has occurred...

    代码是execute里面设置null不会有问题,如果是对象,就会报错.代码如下: HttpGet get = new HttpGet(); HttpResponse response = HttpCl ...

  2. yarn安装依赖包报错 error An unexpected error occurred: “https://registry.npm.taobao.orgnpm/element-ui: get

    yarn安装依赖包报错,error An unexpected error occurred: "https://registry.npm.taobao.orgnpm/element-ui: ...

  3. 使用IntelliJ IDEA导入 Flink 消费kafka报错 Error: A JNI error has occurred, please check your installation an

    提示找不到类,pom中已经引用了jar包,使用eclipse也可以执行,就是IntelliJ不行 java.lang.NoClassDefFoundError: org/apache/flink/ap ...

  4. yarn报错:error An unexpected error occurred: “https://registry.yarnpkg.com/-/user/org.couchdb。。。

    Yarn 报错:error An unexpected error occurred: "https://registry.yarnpkg.com/-/user/org.couchdb.us ...

  5. lDEA报错Error: A JNI error has occurred, please check your installation and try again

    今天java程序run出现 Error: A JNI error has occurred, please check your installation and try again 解决方法:修改j ...

  6. error An unexpected error occurred “httpsregistry.npmjs.orgd3-geo-proje

    error An unexpected error occurred: "https://registry.npmjs.org/d3-geo-proje yarn install 报错 大概 ...

  7. error An unexpected error occurred: “https://registry.npmjs.org/d3-geo-proje

    error An unexpected error occurred: "https://registry.npmjs.org/d3-geo-proje yarn install 报错 大概 ...

  8. npm install XXX 报错:error An unexpected error occurred:

    npm install XXX 报错:error An unexpected error occurred: "EPERM: operation not permitted 我的解决办法是: ...

  9. Error:A JNI error has occurred,please check your installation and try again

    Error:A JNI error has occurred,please check your installation and try again 该错误多由Java JDK更新安装后导致,相当于 ...

最新文章

  1. 【官方福利】CSDN内测师限时申请,参与赢年末礼包
  2. 为Linux上的Tomcat安装apr支持
  3. (007) java后台开发之Scanner报错java.util.NoSuchElementException
  4. 阿里云云计算服务 备案期间服务器免费
  5. Vivado 时序分析(理论篇) 卷一
  6. JSON.parse与eval的区别
  7. 小到年货大到产业,刘村长的扶贫模式有点厉害!
  8. 唐山师范学院计算机论文,唐山师范学院校园网络解决方案 毕业论文
  9. POE交换机产品如何设计防雷保护?
  10. 数据链路层: HDLC
  11. 白话设计模式——Abstract Factory
  12. ListView的两种使用方法--Android学习笔记
  13. 全国专业技术人员计算机应用能力考试word2003题库版,全国专业技术人员计算机应用能力考试word2003...
  14. Buider模式应用实践
  15. Linux执行source /etc/profile报错“:command not found”
  16. USB之基本协议和数据波形1
  17. WEB测试环境搭建和测试方法大全
  18. 注册测绘师学习笔记(一)
  19. Python原来有三大神器
  20. android ios mp4格式转换,ios 开发 视频格式转换、mov转MP4

热门文章

  1. mongoDB--初识mongoDB安装过程
  2. 系统安全相关知识学习
  3. safair浏览器 在回调中跳转 window.open 打不开页面 但是有判断,跳转不了
  4. 性能之巅——洞悉系统、企业与云计算 Brendan Gregg
  5. 24 个必须掌握的数据库⾯试题
  6. 卓训教育:给孩子讲故事,打造学习愿景
  7. 计算机一级死都过不了怎么办,电脑假死,详细教您电脑假死机怎么处理
  8. 大数据薪水大概多少_大数据就业岗位有哪些?薪资多少?
  9. 传统语音增强——基于先验信噪比的维纳滤波语音降噪算法
  10. 认识计算机的桌面,电脑桌面的基础知识教程,教你认识电脑桌面