• I’ve developed a Python code utilizing cryptographic libraries. It involves three certificates: root, intermediate, and leaf. The root certificate signs the intermediate, and the intermediate certificate signs the leaf.

  • Currently, when attempting to verify the signatures using OpenSSL, the signatures of the root and intermediate certificates are verified successfully. However, the verification fails for the intermediate and leaf certificates.

  • “error 2 at 1 depth lookup: unable to get issuer certificate error verification failed.

  • root_private_key

  • intermediate_private_key

  • child_private_key

Could someone provide assistance with this issue?

New contributor

Karanam Balaram is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.