I'm working on an application which uses ECDSA certificates. After the cert generation, they should be verified but currently the following error is received:
C = CA, ST = BC, L = City, O = Corp, OU = Software, emailAddress = firstname.lastname@example.org, CN = va.corp.com error 18 at 0 depth lookup: self signed certificate
That is when the following command is invoked:
openssl verify -CAfile ca-chain en-cert.pem
The certs are generated using the CSR like
openssl ca -in CSR
How can the certificate be verified properly against the ca-cert/ca-chain?
openssl verify -CAfile en-cert.pem en-cert.pem returns