onBoarding with zatca production/csids

I face problem when I try to make onBoarding with zatca
production/csids

  • The provided CurrentCCSID is invalid

Dear @AliElkomy

Thanks for reaching out, Welcome to our community.

To ensure comprehensive support as usual, Can I kindly ask you to collaborate more with your concerns, mentioning all the steps that you followed from generating your CSR from your config file?

Thanks,
Ibrahem Daoud.

can you give me the correct steps to create CRS \

what is correct way to create correct CRS in C#

Collect all required data to create CSR as in pic

Create new AsymmetricCipherKeyPair()

Create Certificate using Company Data , AsymetricCipherKeyPair

Then I got Create Certificate Request as

-----BEGIN CERTIFICATE REQUEST-----

MIICuDCCAl4CAQAwgb8xIzAhBgkqhkiG9w0BCQEWFElzbWFpbEBpbm5vdnMtaXQu

Y29tMQswCQYDVQQGEwJTQTETMBEGA1UECwwKMzAyMTU4Njg5MjFcMFoGA1UECgxT

2YXYpNiz2LPYqSDYp9iz2KrYs9ix2KfYqtis2YrYp9iqINin2YTYp9io2KrZg9in

2LEg2YTYqtmC2YbZitipINin2YTZhdi52YTZiNmF2KfYqiAxGDAWBgNVBAMMDzMw

MjE1ODY4OTIwMDAwMzBWMBAGByqGSM49AgEGBSuBBAAKA0IABAdIkreUvHpbydEh

UdWsZ0oPV/eVn3l4kB+yJZv8T5BoPaX5W0TPUGD9Matwq2TlYPTHmBFxbt3s6eeH

gmfZHWagggE9MIIBOQYJKoZIhvcNAQkOMYIBKjCCASYwJAYJKwYBBAGCNxQCBBcT

FVBSRVpBVENBLUNvZGUtU2lnbmluZzCB/QYDVR0RBIH1MIHypIHvMIHsMYGMMIGJ

BgNVBAQMgYExLdmF2KTYs9iz2Kkg2KfYs9iq2LPYsdin2KrYrNmK2KfYqiDYp9mE

2KfYqNiq2YPYp9ixINmE2KrZgtmG2YrYqSDYp9mE2YXYudmE2YjZhdin2KogfDIt

VjF8My0zODZlODBkZi1jYTc4LTQ5ODYtYjBlNi1mYWZjYWRmZDdhMWQxHzAdBgoJ

kiaJk/IsZAEBDA8zMDIxNTg2ODkyMDAwMDMxDTALBgNVBAwMBDExMDAxHTAbBgNV

BBoMFNi52YbZiNin2YYgaW5ub3ZzLWl0MQwwCgYDVQQPDANDUk4wCgYIKoZIzj0E

AwIDSAAwRQIgPuyqjLALg5rD2UzSoPDlpAyjK+W/QV559zuVBy2b4UwCIQD86z7r

XxtEdIngh6EVi1tx1Dx2jUMS6w9jRTruCQKwQQ==

-----END CERTIFICATE REQUEST-----

Then I got Private Key as

-----BEGIN EC PRIVATE KEY-----

MHQCAQEEIFhLVnDKBymI91hb02NES/3H3Ad8/5vKIAti8rBsNaQCoAcGBSuBBAAK

oUQDQgAEB0iSt5S8elvJ0SFR1axnSg9X95WfeXiQH7Ilm/xPkGg9pflbRM9QYP0x

q3CrZOVg9MeYEXFu3ezp54eCZ9kdZg==

-----END EC PRIVATE KEY-----

Then I got that CSR contains previous steps (Request , Key)

Then I start to create OnBoarding

Returned with model.compliance_request_id = 1730799453340

I got Error : The provided CurrentCCSID is invalid

Return from OnBoarding Result

Morning @AliElkomy

Thanks for reaching out,

After reviewing the CSR that you shared it appears that you are in simulation environment, right?

Additionally, Did you review the educational library shared by ZATCA? for all the steps to ensure successfully onboarding?

Thanks,
Ibrahem Daoud.

I reached that reason of not completing Create Zatca Certificate (Arabic encryption ) in production mode not accepted by your (Zatca ) API , but English is acceptable. in other side in Simulation environment it is acceptable . can you investigate on that. Thanks

Dear @AliElkomy

Thanks for reaching out,

Kindly note that it is working for both AR & EN in both environments (SIM, PROD),

If you faced any blocker during the onboarding process, please do not hesitate to reach out to our support team via the below mail.

SP mail: sp_support@zatca.gov.sa

Thanks,
Ibrahem Daoud.