Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: www.easyfairings.com
I ran this command: /usr/local/bin/certbot-auto certonly --nginx
It produced this output:
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.easyfairings.com
Waiting for verification…
Challenge failed for domain www.easyfairings.com
http-01 challenge for www.easyfairings.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.easyfairings.com
Type: unauthorized
Detail: Invalid response from
http://www.easyfairings.com/.well-known/acme-challenge/JDku2Yteb-XE93SuWRDk1_nFO55-yC4lPy6PsmBuuhQ
[2607:f1c0:1000:1e:44da:6f4c:a937:d]: 204To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): nginx/1.14.2
The operating system my web server runs on is (include version): Debian 8
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 1.0.0
I’ve tried with --dry-run and with --webroot
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Current vhost config:
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=2r/s;
server {
set $MAGE_ROOT /var/www/html/easyfairings.com/www.easyfairings.com;
listen 80;
#root $MAGE_ROOT/pub;
server_name easyfairings.com www.easyfairings.com;
index index.php;
autoindex off;
charset UTF-8;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ (index|get|static|report|404|503)\.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_buffers 1024 4k;
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=18000";
fastcgi_param HTTPS on;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_read_timeout 600s;
fastcgi_connect_timeout 600s;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
server {
set $MAGE_ROOT /var/www/html/easyfairings.com/www.easyfairings.com;
listen 443 ssl;
ssl on;
ssl_certificate /home/secuuser/ssl_certificate/easyfairings.com.bundle.crt;
ssl_certificate_key /home/secuuser/ssl_certificate/easyfairings.com.priv.key;
server_name www.easyfairings.com;
access_log /var/log/nginx/easyfairings.com_access.log;
error_log /var/log/nginx/easyfairings.com_error.log;
root $MAGE_ROOT/pub;
index index.php;
autoindex off;
charset UTF-8;
error_page 404 403 = /errors/404.php;
#add_header "X-UA-Compatible" "IE=Edge";
location / {
try_files $uri $uri/ /index.php?$args;
}
# PHP entry point for main application
location ~ (index|get|static|report|404|503)\.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_buffers 1024 4k;
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=18000";
fastcgi_param HTTPS on;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_read_timeout 600s;
fastcgi_connect_timeout 600s;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
gzip on;
gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_proxied any;
gzip_types
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/x-javascript
application/json
application/xml
application/xml+rss
image/svg+xml;
gzip_vary on;
}