Currently I'm able to get a single Let's Encrypt SSL certificate working on one server with multiple subdomains.
eg. m.example.com, www.example.com, example.com on Server A
However, in order to use eg. cdn.example.com on Server B, how can I make the implementation?
My ideas are:
(1) single certificate on Server A, containing all subdomains: cdn.example.com, m.example.com, www.example.com, example.com, then rsync it to Server B
(2) one certificate on Server A, containing: m.example.com, www.example.com, example.com
second certificate on Server B, containing only: cdn.example.com
What's the correct way or best approach to make the implementation?
I'm not sure if I'm allow to generate multiple certificates regarding to one the root domain example.com
I find that (1) is easier when it comes to renewal in case I scale to multiple servers.
Can it be done this way? Or it's redundant?
UPDATE:
same SSL certificate in two servers does not fully address my question. The accepted solution partially answer that SSL cert is FQDN specific, and not machine specific.
If that's the case, isn't my proposed (1) a simplified solution?
My question is that:
Can I have a partial SSL cert containing only subdomain cdn.example.com
but leave out the others on Server B then having another SSL cert issued for Server A with the root domain example.com
, www.example.com
, and m.example.com
?