gpt4 book ai didi

apache - 在 Windows 10 中使用 XAMPP 问题启用 SSL

转载 作者:可可西里 更新时间:2023-11-01 16:40:23 25 4
gpt4 key购买 nike

当我尝试在本地服务器中将 http 设置为 https 时,我遇到了 XAMPP 问题。我流动这个instruction .当我使用 cmd 运行 makecert.bat 文件时,终端显示流动错误。

enter image description here

Generating a 2048 bit RSA private key
......+++
..................................+++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
18548:error:28069065:lib(40):UI_set_result:result too small:.\crypto\ui\ui_lib.c:830:You must type in 4 to 511 characters
18548:error:0906406D:PEM routines:PEM_def_callback:problems getting password:.\crypto\pem\pem_lib.c:116:
18548:error:0907E06F:PEM routines:DO_PK8PKEY:read key:.\crypto\pem\pem_pk8.c:130:
unable to load Private Key
11920:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:707:Expecting: ANY PRIVATE KEY
server.csr: No such file or directory
Could Not Find C:\xampp\apache\server.csr
The system cannot find the file specified.
The system cannot find the file specified.

-----
Das Zertifikat wurde erstellt.
The certificate was provided.

Press any key to continue . . .

我不明白如何解决这个错误。我找到了解决方案 here .但它不起作用。我找到了有用的链接 here关于 makecert.bat 文件。

I don't understand how to fix this issue. I need help.

  • 我的XAMPP版本:7.1.11-0-VC14

  • Windows 版:Windows 10 教育版

  • 版本:1709

  • 操作系统构建:16299.64

最佳答案

首先,对于您在此处创建自签名的内容,您可以免费创建商业证书:https://sslforfree.com

此处示例如何将多个域的多个 ssl 证书添加到 xampp 服务器 https://www.youtube.com/watch?v=DzGTgAaDP40

无需在 youtube 上进行 xampp 搜索即可安装 php、apache2 和 mysql(windows server 2012 apache2、php、mysql)。

关于apache - 在 Windows 10 中使用 XAMPP 问题启用 SSL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47413469/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com