Hi I need help
I’m running WordPress Multisite on Ubuntu 16.04, and on NGINX Server
I have a problem, a lot of attempts I’ve done but I couldn’t find how to do it.
I want to install letsencrypt not only for my root domain, but also for all of my subdomains. Some people suggesting running this script:
/opt/letsencrypt/letsencrypt-auto certonly --webroot -w /var/www/nama_domain/htdocs/ -d subdomain1.nama_domain.com -d subdomain2.nama_domain.com -d subdomain3.nama_domain.com --email surat@nama_domain.com --text --agree-tos
but showing up an error: bash: /opt/letsencrypt/letsencrypt-auto: No such file or directory
even I have installed letsencrypt on my Ubuntu.
or refer to this forum discussion: http://stackoverflow.com/questions/41429710/am-i-going-to-run-into-issues-using-lets-encrypt-ssl-on-wpmu-nginx
someone state to :
In your nginx site configuration, you will specify the single certificate which will be valid for all the domains yous specified with certbot.
server {
...
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
...
}
Where is the nginx site configuration, or where do I edit a command/text/script so that each letsencrypt certificate refer to its own subdomain?
I haven’t running my web for 1 month just because of this , need help.