首页 > 解决方案 > 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 上却不行。我已经重新启动了手表。

谢谢

标签: httpsapple-watchlets-encryptsirishortcuts

解决方案


我自己找到了解决方案。

首先,我使用来自 Qualys的https://ssllabs.com测试了证书。该站点测试证书。结果显示不会从 apache2 下载链文件。错误是我忘记将“SSLCertificateChainFile”添加到配置中。

现在我的 apache2 SSL 配置是速率 A+,并且快捷方式再次与 Apple Watch 一起使用。

为什么这个错误只发生在苹果手表上而不是其他苹果设备上,我也不知道。

谢谢


推荐阅读