iam using openssl to create private and public key then create csr
after incript the csr by base64 encode
i get this error
invalid csr bad request 400
iam using these statment for create it
private key :
openssl ecparam -name secp256k1 -genkey -noout -out privatekey.pem
public key :
openssl ec -in privatekey.pem -pubout -out publickey.pem
csr :
openssl req -new -sha256 -key privatekey.pem -extensions v3_req -config configuration.cnf -out csr.csr
please ineed help
thanks
idaoud
2
Morning @AhmedFox
Thanks for reaching out, welcome to our community.
Please follow the below steps and let me know if it’s work successfully:
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.
Still Not Working With New Openssl
Still Not Working With New Openssl
Dear @AhmedFox
Kindly if you are still encountering issues, please reach out to our support team via email:
SP email: sp_support@zatca.gov.sa
E-invoicing@zatca.gov.sa
Thank you.