【发布时间】:2018-05-04 22:31:40
【问题描述】:
当我尝试在本地服务器中将 http 设置为 https 时,我遇到了 XAMPP 问题。我流着这个instruction。当我使用cmd 运行makecert.bat 文件时,终端显示流动错误。
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。但它不起作用。我找到了关于makecert.bat 文件的有用链接here。
我不明白如何解决这个问题。我需要帮助。
我的XAMPP版本:
7.1.11-0-VC14Windows 版:
Windows 10 Education版本:
1709操作系统版本:
16299.64
【问题讨论】:
标签: apache http batch-file https xampp