使用XAMPP创建ubuntu 20.04中的Localhost(VirtualHost配置)SSL证书

发布于 2025-01-18 23:34:15 字数 507 浏览 3 评论 0原文

只是想知道如何使用安装了 Xampp 的 Ubuntu 20.04 为我的本地主机生成 ssl。我想使用 Xampp 附带的 Apache(这意味着我没有通过 apt 安装外部 Apache。我还使用了虚拟主机而不是本机 localhost:port url。

我遇到了一点困难因为 Ubuntu + Xampp 这个词通常不会在我搜索过的论坛上共存,它们基本上是 Ubuntu + 外部 Apache 或 Windows + Xampp,

我使用这些论坛提示尝试了一些东西,但我最终得到了 chrome 的错误 error< /a>

即使我已经启用了允许从本地主机加载资源的无效证书。我也尝试清除 Chrome 的缓存,但没有任何效果,

非常感谢您的帮助。

Just wanted to know the way to generate ssl for my localhost using Ubuntu 20.04 with installed Xampp. I wanted to use the Apache that comes with the Xampp (which means I don't have the external Apache installed via apt. I also have used virtual host instead of the native localhost:port url.

I am having a bit of a hard time since the word Ubuntu + Xampp doesn't generally coexist on the forums that I have searched. They are basically Ubuntu + external Apache or Windows + Xampp.

I tried some things using those forum tips but I ended up with chrome having this error error

even though I already enabled Allow invalid certificates for resources loaded from localhost. I also tried clearing Chrome's cache but nothing really made any difference.

Would really appreciate everything for your help. Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文