Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx SSL error #5

Open
retzion opened this issue Aug 5, 2021 · 0 comments
Open

Nginx SSL error #5

retzion opened this issue Aug 5, 2021 · 0 comments

Comments

@retzion
Copy link

retzion commented Aug 5, 2021

I generated self-signed certs as per instructions:

nginx/certs/self-signed/wordpress-docker.test+5.pem
nginx/certs/self-signed/wordpress-docker.test+5-key.pem

and I referenced them in the nginx config:

    ssl_certificate /etc/nginx/certs/self-signed/wordpress-docker.test+5.pem;
    ssl_certificate_key /etc/nginx/certs/self-signed/wordpress-docker.test+5-key.pem;

but I'm getting this error when I build

2021/08/05 15:51:43 [emerg] 1#1: cannot load certificate "/etc/nginx/certs/self-signed/wordpress-docker.test+5.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/certs/self-signed/wordpress-docker.test+5.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

nginx: [emerg] cannot load certificate "/etc/nginx/certs/self-signed/wordpress-docker.test+5.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/certs/self-signed/wordpress-docker.test+5.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant