-
Notifications
You must be signed in to change notification settings - Fork 330
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
SSL Problem with ez-letsencrypt #43
Comments
@tjinewpro - I can see how this might be confusing and I'll add some documentation to assist. The local From the ez-letsencrypt example
Applying to WordPressLets say you have the following setup
You would make the following adjustments
# Nginx Settings
export NGINX_CONF=./nginx/default.conf
export NGINX_SSL_CERTS=/root/mycerts # <-- set host directory to /root/mycerts
export NGINX_LOGS=./logs/nginx
nginx:
# default ports 80, 443 - expose mapping as needed to host
image: nginx:1
container_name: wp-nginx
env_file:
- .env
restart: unless-stopped
networks:
- wordpress
depends_on:
- wordpress
ports:
- "8080:80" # http
- "8443:443" # https
volumes:
- ${WORDPRESS_LOCAL_HOME}:/var/www/html
- ${NGINX_CONF}:/etc/nginx/conf.d/default.conf
- ${NGINX_SSL_CERTS}:/etc/letsencrypt:ro # <-- set internal directory to /etc/letsencrypt
- ${NGINX_LOGS}:/var/log/nginx
At this point you should be able to run WordPress using your new certificates |
Even though I changed all of files follow your direction, there was still an error. Saving debug log to /var/log/letsencrypt/letsencrypt.log Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems: Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet. Some challenges have failed.
|
There is a problem with ez-letsencrypt.
When I tried to run ez-letsencrypt,
it runs like this with ssl files
ssl_certificate /etc/letsencrypt/live/$le_hostname/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/$le_hostname/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/$le_hostname/chain.pem;
However, this project has ssl files on ssl folder. That doesn't make work well
Please help me!
The text was updated successfully, but these errors were encountered: