if the certifiate request does not contain a template attribut, use certreq with the -attrib parameter to specify the template.
certreq
-attrib
certreq -attrib "CertificateTemplate:MyTemplate"