Debian unable to get local issuer certificate

(Last Updated On: December 27, 2020)

debian 10 buster openssl
Verification error: unable to get local issuer certificate
Verify return code: 20 (unable to get local issuer certificate)

export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
export SSL_CERT_DIR=/etc/ssl/certs