Unable to submit and sign the csr in zatca side

The API endpoint for submitting and signing the CSR in production is failing, while it works fine in the simulator.

API Endpoint
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/production/csids

{
“requestID”: -2,
“tokenType”: null,
“dispositionMessage”: “NOT_COMPLIANT”,
“binarySecurityToken”: null,
“errors”: [
“unable to submit and sign the csr in zatca side, caused : Denied by Policy Module 0x80094800, The request was for a certificate template that is not supported by the Active Directory Certificate Services policy: PREZATCA-Code-Signing.\r\n”
]
}

1 Like

Dear @mo.mohsen

Thank you for reaching out & welcome to the community.

Can i kindly ask you to share the details via the below email:

sp_support@zatca.gov.sa

Thanks

should be

certificateTemplateName = ASN1:PRINTABLESTRING:ZATCA-Code-Signing

for Production PREZATCA-Code-Signing replace it with ZATCA-Code-Signing
hope this will solve the issue

1 Like

Now it’s working thanks so much

Can you please help me where to change this certificate template ? Where can I get it?

Where to change ? the prezatca to zatca?

you need to change it in your CSR Config file