Say I have the following two domains:
-
example.com
hosted at/srv/http/example
-
subdomain.example.com
hosted at/srv/http/subdomain
Both domain names are listed as SANs in the CSR. I know without using a custom CSR, I can just request for a certificate using the following:
> letsencrypt certonly --webroot -w /srv/http/example/ -d example.com -w /srv/http/subdomain/ -d subdomain.example.com
My question is how can I request for the certificate if I have to use a custom CSR with multiple webroots? Thanks!