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.yppgi.org
I ran this command: sudo certbot certonly --nginx. Then I ran another command : sudo certbot install --nginx
It produced this output:
My web server is (include version): Ubuntu 18.04.4 LTS
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: own vps
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): Wordpress
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youāre using Certbot): 0.31.0
Iām new and trying to set up an ssl on my website. After installation, my website got messed up and the cert is not running on my website at all. I use Wordpress for my website.
I donāt know where I got it wrong and canāt seem to find a solution for it.
hereās my conf:
server {
listen 443 ssl;
server_name yppgi.org www.yppgi.org;
#ssl on;
ssl_certificate /etc/letsencrypt/live/prtg.intosolusi.net.id/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/prtg.intosolusi.net.id/privkey.pem;
location / {
proxy_pass http://192.168.99.101;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Ssl $scheme;
return 301 $scheme://yppgi.org$request_uri;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/yppgi.org/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/yppgi.org/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = yppgi.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name yppgi.org www.yppgi.org;
return 404; # managed by Certbot
}