This question is a continuation of essentially the same question that was closed for being "off-topic" on Stack Overflow.
The OP's question:
I am just simply trying to add the domain
test.example.comto the certificate that already exists for
example.com. How do I add a domain to my existing certificate and replace the old certificate?