In the nginx certificate filling path, the following error occurs: library: fopen: Unknownerror: fopen.

Source: Internet
Author: User
: This article mainly introduces the nginx certificate filling path error: library: fopen: Unknownerror: fopen. if you are interested in the PHP Tutorial, refer to it. 16:57:10 [emerg] 30420 #29876: BIO_new_file ("C:

Ginx-1.9.9 \ ssl \ export domain_bundle.crt ") failed (SSL: error: 02001_ B: system library: fopen: Unknown error: fopen ('C:

Ginx-1.9.9 \ ssl \ export domain_bundle.crt ', 'r') error: 2006D002: BIO routines: BIO_new_file: system lib)

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

16:57:11 [alert] 29884 #31740: cocould not respawn worker

16:57:28 [emerg] 28212 #30316: BIO_new_file ("C:

Ginx-1.9.9 \ ssl \ export domain_bundle.crt ") failed (SSL: error: 02001_ B: system library: fopen: Unknown error: fopen ('C:

Ginx-1.9.9 \ ssl \ export 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. whether it is windows or linux, it is suspected that there is a problem with the path processing.

Solution

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

In linux, place the certificate file in the directory where nginx. conf is located.

The above introduces the nginx certificate fill path error: library: fopen: Unknown error: fopen, including the content, hope to be helpful to friends interested in PHP tutorials.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.