You are receiving such an error because of a mistake in generating your CSR for simulation and the provided CSR does not contain the data you shared in the config file, which means that you have missed something, please could you share with us the steps you have done
Production CSID failure
Thanks for guided me. CCSID generated successfully. But the generation of PCSID is failed.
CCSID generation result json
“errors”:null}
PCCSID generation result json
{“code”:“Missing-ComplianceSteps”,“message”:“The compliance certificate is not done with the following compliance steps yet [standard-compliant,standard-credit-note-compliant,standard-debit-note-compliant,simplified-compliant,simplified-credit-note-compliant,simplified-debit-note-compliant]”}
@halrashidy , We have providing all the information that is provided in the slide 26 of the document , Even though we are receiving the error Invalid-CSR . Could please check
[ dn ]
C=SA # Country Code e.g SA
OU=INDEPENDENT FOOD COMPANY LTD # Organization Unit Name
O=INDEPENDENT FOOD COMPANY LTD # Organization Name
CN=POS487 # Common Name
[alt_names]
SN=1-Taxilla|2-IFCLSIM|3-0611240122 # EGS Serial Number 1-ABC|2-PQR|3-XYZ
UID=310096252500003 # Organization Identifier (VAT Number)
title=0100 # Invoice Type
registeredAddress=Riyadh # Address
businessCategory=Restaurant # Business Category
You are receiving such an error because of a mistake in generating your CSR for simulation, please ensure performing next steps to solve this issue:
Re-generate a Certificate Signing Request (CSR):**
Ensure taking simulation requirements in consideration:
OpenSSL: Set CertificateTemplateNameASN1 in “CNF” configuration file to PRINTABLESTRING:PREZATCA-Code-Signing
SDK Command: Include -sim before the command for generating the CSR if you are using SDK for CSR generation.
Ensure using right endpoints for “simulation” which can be found on fatoora portal user manual
Re-do the same process with a new “OTP” that obtained from fatoora “simulation” portal
Although simulation is a replica to the production environment, they are still independent environments, so please consider simulation requirements when generating the CSR.