如何在macOS中安装本地SSL证书

本文介绍了在macOS中解决HTTPS应用警告问题的方法。当使用本地证书时,浏览器默认不信任,需要手动安装。具体步骤包括:通过Chrome获取证书,将其拖放到桌面,双击安装,选择始终信任,并在钥匙串中确认设置。完成这些步骤后,应用将在任何浏览器上正常运行HTTPS。
摘要由CSDN通过智能技术生成

You’ve written an app that should use HTTPS, but it’s not working: you’re getting a warning when you try to access it using HTTPS, even though you created a local certificate.

您编写了应使用HTTPS的应用程序,但该应用程序无法正常工作:即使您创建了本地证书,当您尝试使用HTTPS访问该应用程序时也会收到警告。

That’s because by default the browser does not trust local certificates.

这是因为默认情况下,浏览器不信任本地证书。

We need to install it!

我们需要安装它!

I assume you use Chrome in this section

我假设您在本节中使用Chrome

Click the “Not Secure” box near the address bar, and a little panel should show up:

单击地址栏附近的“不安全”框,然后会出现一个小面板:

<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值