library:fopen:No such file or directory:fopen(‘/etc/letsencrypt/ssl-dhparams.pem’,’r’)

library:fopen:No such file or directory:fopen(‘/etc/letsencrypt/ssl-dhparams.pem’,’r’)

Полная ошибка:

nginx: [emerg] BIO_new_file("/etc/letsencrypt/ssl-dhparams.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/ssl-dhparams.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

Решение:

openssl dhparam -out /etc/letsencrypt/ssl-dhparams.pem 2048

 

Добавить комментарий