Back to Blog
Webroot renewal deals7/23/2023 Modify my nginx configuration to read in.Convert manual to webroot method for renewing.To sum it all up here is what I need help with well-known/acme-challenge? I’m not sure how to modify my nginx config to read content in /var/www/xxx/.well-known/acme-challenge How do I modify this to allow webroot? and how do I allow certbot to access. Try_files $uri $uri/ /index.php$is_args$args įastcgi_split_path_info ^(. \.php)(/. )$ įastcgi_pass unix:/var/run/php/ įastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name Ssl_prefer_server_ciphers on server_name *.xxx.com xxx.com Ssl_certificate_key /etc/letsencrypt/live/xxx.com/privkey.pem Ssl_certificate /etc/letsencrypt/live/xxx.com/fullchain.pem Server_name *.xxx.com xxx.com return 301 } I’m using an NGINX webserver and below is my NGINX configuration Correct me if I’m wrong but I read that using webroot will fix my issue and I don’t have to add a TXT value in my DNS. Is there a way to fix this? Honestly this is my first time and I have no idea on what to do with this issue. Is there a way to renew this without changing the TXT Value in the DNS? I would like to renew it automatically using cron but since my config is in manual I can’t do that. So when trying to run certbot renew i’m getting that error. Privkey = /etc/letsencrypt/live/xxx.com/privkey.pemĬhain = /etc/letsencrypt/live/xxx.com/chain.pemįullchain = /etc/letsencrypt/live/xxx.com/fullchain.pem When I checked my let’s encrypt file below is what is listed in my /etc/letsencrypt/renewal/Īrchive_dir = /etc/letsencrypt/archive/xxx.comĬert = /etc/letsencrypt/live/xxx.com/cert.pem My guess would be because it’s set to manual and can’t renew it and needed an interaction via DNS. The error was: PluginError(‘An authentication script must be provided with -manual-auth-hook when using the manual plugin non-interactively.’,)Īttempting to renew cert ( xxx.com) from /etc/letsencrypt/renewal/ produced an unexpected error: The manual plugin is not working there may be problems with your existing configuration. But now I was expecting it to auto renew using cronjob but I’m getting this errorĬould not choose appropriate plugin: The manual plugin is not working there may be problems with your existing configuration. I have installed a Let’s Encrypt certificate for my site previously with Manual method.
0 Comments
Read More
Leave a Reply. |