'Nginx getting the event "ngx_master_****" was not signaled for 5s

I am getting Error While running Nginx

enter image description here

Getting this in error log file the event "ngx_master_9488" was not signaled for 5s

I am using Windows Operating System

Please help me to solve this issue.



Solution 1:[1]

It will happen when when you enable ssl in nginx with key and pem file generated from openssl having a pass phrase for the key file.

Use the below command to remove the pass phrase from key file and refer the new file (serverunsecure.key) in nginx configuration.

openssl rsa -in server.key -out serverunsecure.key

Solution 2:[2]

You can specify passphrase in text file, and connect it via ssl_password_file directive. Something like this:

listen 3001 ssl;

ssl_certificate         cert.pem;
ssl_certificate_key     key.pem;
ssl_password_file       pass.txt

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shankar Vignesh
Solution 2 A. Korovin