Obtaining Production Credentials
After completing the compliance check, you can obtain production credentials.
To obtain production credentials:
-
Open the Saudi Arabia E-Invoicing Configuration record.
-
Click Next.
The Production Binary Security Token and Production Secret are received and saved in the Production Binary Security Token and Production Secret fields on the Saudi Arabia E-Invoicing Configuration record.
-
Copy the Production Binary Security Token into a text file named proddigCert.txt.
-
Run the following command to extract the issuer name from the Production Binary Security Token.
openssl x509 -in proddigCert.txt -noout -issuer
-
Copy the output following "issuer=" into the Production Issuer Name field in the Saudi Arabia E-Invoicing Configuration record.
-
Run the following command to extract the Production Serial Number.
openssl x509 -in proddigCert.txt -noout -serial
-
Copy the output following "serial=" into the Production Serial Number field in the Saudi Arabia E-Invoicing Configuration record.
-
Run the following command to extract the Production Public Key.
openssl x509 -in proddigCert.txt -noout -pubkey
-
Copy the output into the Production Public Key field in the Saudi Arabia E-Invoicing Configuration record.
-
Run the following command to extract the ECDSA signature of the Production Binary Security Token.
openssl x509 -text -in proddigCert.txt -noout
-
Copy the ECDSA signature, which includes the alphanumeric characters following "Signature Algorithm: ecdsa-with-SHA256," into the Production Binary Security Token field in the Saudi Arabia E-Invoicing Configuration record.
-
Click Save.
A confirmation message appears stating that you have completed all four steps of the set up.