OpenSSL how to perform all hashing of invoice , need steps

Salam,

I done all steps with SDK and those are working perfectly for me, but now i was looking to do all steps with OpenSSL library, CSR, Private Key, Public Key all done, but Invoice hashing , sign with cert , canonically hash and converted to base with OpenSSL, i want clear steps .

also is we can specify pem and cert file path while generating invoice hash and request api. in CLI

Dear @arkaabrothers

Thanks for reaching out,

To provide comprehensive support as usual, please find the below steps to generate the CSR using Open SSL, after preparing your config.cnf file with the facility information

1- Create private key

openssl ecparam -name secp256k1 -genkey -noout -out ec-secp256k1-priv-key.pem

2- Create public key

openssl ec -in ec-secp256k1-priv-key.pem -pubout > ec-secp256k1-pub-key.pem

3- Create CSR

openssl req -new -sha256 -key ec-secp256k1-priv-key.pem -extensions v3_req -config config.cnf -out my.csr

Thanks,
Ibrahem Daoud.

Thanks for reply, i already knew these steps with openSSL,

I am looking for all steps of hashing invoice with openSSL