Hi,
Welcome to post on the Q&A platform.
If you need to export the certificate with a private key, you should confirm that ,when you duplicate the template on the CA,the option should be checked as following:
Then you can export this certificate from clients with the private key.
Best Regards,