Created
May 19, 2022 05:54
-
-
Save p4prawin/8bcdb7de31144b632599d37c17c5c6a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ISSUE: | |
# nginx -t | |
nginx: [emerg] BIO_new_file("/etc/ssl/certs/dhparam.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/certs/dhparam.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) | |
nginx: configuration file /etc/nginx/nginx.conf test failed | |
SOLUTION: | |
# mkdir -p /etc/ssl/certs/ | |
# openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048; | |
# /etc/init.d/nginx start | |
# nginx -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment