https - Apple 快捷方式 HTTPs 在 Apple Watch 上不起作用
问题描述
我使用 Apple Shortcut 中的酷功能通过我的 Web 服务器请求我的 Smarthome 的一些 HTTP REST 命令。我使用带有 Lets Encrypt 证书的 apache2。
这在我的 iPad 和 iPhone 上运行良好,但不幸的是在我的 Apple Watch 上不行。我总是得到:The certificate for this server is invalid. You might connecting to a server that is pretending to be "my.domain.com" which could put your confidential information at risk
。
我在 Apple 快捷方式中使用带有“网络”的“URL”命令。
我不确定如何处理。在我所有的 Apple 设备上,捷径都有效,但在 Apple Watch 上却不行。我已经重新启动了手表。
谢谢
解决方案
我自己找到了解决方案。
首先,我使用来自 Qualys的https://ssllabs.com测试了证书。该站点测试证书。结果显示不会从 apache2 下载链文件。错误是我忘记将“SSLCertificateChainFile”添加到配置中。
现在我的 apache2 SSL 配置是速率 A+,并且快捷方式再次与 Apple Watch 一起使用。
为什么这个错误只发生在苹果手表上而不是其他苹果设备上,我也不知道。
谢谢
推荐阅读
- php - WooCommerce 订阅:没有暂停按钮
- c++ - 如何在 UWP C++/WinRT 项目中使用 CalendarDatePicker::Date() 属性?
- python - Python pandas函数根据另一列中的重复值将不同的值连接到一列中
- bootstrap-4 - 覆盖 ActiveForm Yii2 的 Bootstrap CSS/JS
- ios - 处于“等待开发者发布”状态的 iOS 版本过期
- ruby-on-rails - 在视图中呈现结果不正确的 ActiveRecord
- python - 使用 Pandas DataFrame 从一个数据帧中获取唯一值及其出现到一个新数据帧中
- r - 如何使用“如何”功能进行不平衡的重复设计
- c++ - 我的程序在到达 `cin.getline()` 函数时突然退出
- rspec - Chefspec:覆盖属性不起作用