2017-11-21 19 views
0

로컬 서버에서 http에서 https으로 설정할 때 XAMPP과 관련된 문제가 있습니다. 나는 이것을 instruction에 흘 렸습니다. cmd을 사용하여 makecert.bat 파일을 실행하면 터미널 오류가 발생합니다.Windows에서 XAMPP 문제로 SSL 사용

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 해결책을 찾았습니다. 하지만 작동하지 않습니다. makecert.bat 파일에 대한 유용한 링크 here을 찾았습니다.

이 문제를 해결하는 방법을 모르겠다. 도움이 필요해.

  • XAMPP 버전 : 7.1.11-0-VC14

  • 윈도우 판 : Windows 10 Education

  • 버전 : 1709

  • OS 빌드 : 16299.64

  • 여기에 서명 자체를 만드는 것을 위해 모든

답변

0

먼저 무료로 상용 인증서 표시를 만들 수 있습니다 XAMPP 서버에 여러 도메인에 대한 여러 SSL 인증서를 추가하는 방법 https://sslforfree.com

그리고 여기에 예를 https://www.youtube.com/watch?v=DzGTgAaDP40

당신이 할 수있는 유튜브 (윈도우 서버 2012 apache2, PHP, MySQL)에서 xampp 검색없이 php, apache2 및 mysql을 설치하십시오.