nginx certificate filling path error: library:fopen:Unknown error:fopen

WBOY
Release: 2016-07-29 08:57:40
Original
3729 people have browsed it

2016/03/21 16:57:10 [emerg] 30420#29876: BIO_new_file("C:

ginx-1.9.9ssl1_domain_bundle.crt") failed (SSL: error:0200107B:system library:fopen:Unknown error: fopen('C:

ginx-1.9.9ssl1_domain_bundle.crt','r') error:2006D002:BIO routines:BIO_new_file:system lib)

2016/03/21 16:57:11 [alert ] 29884#31740: worker process 30420 exited with code 1

2016/03/21 16:57:11 [alert] 29884#31740: could not respawn worker

2016/03/21 16:57:28 [emer g] 28212#30316: BIO_new_file("C:

ginx-1.9.9ssl1_domain_bundle.crt") failed (SSL: error:0200107B:system library:fopen:Unknown error:fopen('C:

ginx-1.9 .9ssl1_domain_bundle.crt','r') error:2006D002:BIO routines:BIO_new_file:system lib)

Problem analysis: As long as the absolute path is written, an error will be reported, regardless of windows or Linux, it is suspected that the path is wrong Dealing with the problem

Solution

Under windows, place the certificate file in the conf directory,

Under Linux, place the certificate file in the directory where nginx.conf is located

The above introduces the nginx certificate filling path error: library:fopen:Unknown error:fopen, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!