Initially, Nethserver had org.domainA.tld, wiki.domainA.tld and chat.domainB.tld
both with issued ssl certs
i wanted to obtain ssl for domainB.tld which is not pointed to the server, so after setting up acme sh and config, i ran the command below.
acme.sh --issue --debug --dns dns_cloudns domainB.tld \
--cert-file /etc/pki/tls/certs/cert.crt \
--ca-file /etc/pki/tls/certs/cert-chain.crt \
--key-file /etc/pki/tls/private/cert.key \
--reloadcmd "/sbin/e-smith/signal-event certificate-update"
After the command above was issued, LE was issued via dns to the domain not pointing to Nethserver, but all other domains on Nethserver which had ssl handled by nethserver were now giving ssl error, even after rebooting server and trying all manner of things.
so to bring back ssl, as i di dnot want to tamper
i issued the command below
acme.sh --issue --debug --force --dns dns_cloudns -d org.domainA.tld -d wiki.domainA.tld -d chat.domainB.tld -d domainB.tld \
--cert-file /etc/pki/tls/certs/cert.crt \
--ca-file /etc/pki/tls/certs/cert-chain.crt \
--key-file /etc/pki/tls/private/cert.key \
--reloadcmd "/sbin/e-smith/signal-event certificate-update"
Above command was issued on the server to give it cert for alll the domains.
so it got me thinking, why would getting LE via acme sh also remove the previous issued cert on nethsever,
and how can acme sh be used to issue LE certs, without affecting existing Nethserver.