Skip to Content
avatar image
Former Member

How Create PSE with SHA256 Data Invoice Mexico (SAT)

Hi community

I need to create the PSE with encryption SHA256, actually, the PSE has RSA1encryption.

I used the next commands to create the PSE

openssl pkcs8 -inform DER -in KEY.key -passin pass:abcd1234 -outform PEM -out KEY.key.pem -passout pass:pass:abcd1234

openssl x509 –inform DER –in CER.cer -outform PEM –out CER.cer.pem

copy KEY.key.pem+CER.cer.pem+AC2_SAT.pem+AC3_SAT.pem+AC4_SAT.cer.pem+ARC2_IES.crt+ARC3_IES.crt+ARC4_IES.cer.pem CSD_01_chain.pem

openssl pkcs12 -in CSD_01_chain.pem -passin pass:abcd1234 -export -out SAPMXDI_E00_090.p12 -name SAT -passout pass:abcd1234

sapgenpse import_p12 -p SAPMXDI_E00_090.pse -x abcd1234 -z abcd1234 SAPMXDI_E00_090.p12

when I check the PSE with ZSSF_TEST the algorithm is RSA (OID 1.2.840.113549.1.1.1)

The commoncryptolib is

SSFLIB Version 1.850.40 ; CommonCryptoLib (SAPCRYPTOLIB) Version 8.5.7 (+MT) #Copyright (c) SAP, 2011-2017#compiled for linux-gcc-4.3-x86-64#

can you help me how to create with SHA256?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers