openssl verify command fails with "Error loading file..."
<p>We are trying to install and verify ssl/smime certifications but we still facing a blocking issue related to openssl verify command.</p>

<p>The following command is applied :</p>

<pre><code># openssl verify -verbose -CAfile CERT-CPS2ter-2020-TEST.p7b.pem -CRLfile TEST_CLASSE_CRL-1.pem \
  -crl_check -extended_crl -use_deltas certificat_sign.pem
Error loading file CERT-CPS2ter-2020-TEST.p7b.pem
usage: verify [-verbose] [-CApath path] [-CAfile file] [-purpose purpose] [-crl_check] [-no_alt_chains]
[-attime timestamp] [-engine e] cert1 cert2 ...
recognized usages:

    sslclient       SSL client
    sslserver       SSL server
    nssslserver     Netscape SSL server
    smimesign       S/MIME signing
    smimeencrypt    S/MIME encryption
    crlsign         CRL signing
    any             Any Purpose
    ocsphelper      OCSP helper
    timestampsign   Time Stamp signing*
</code></pre>

<p>We checked our .p7b file and seems correct:</p>

<pre><code>[root@localhost cer]# openssl pkcs7 -inform der -in CERT-CPS2ter-2020-TEST.p7b -print_certs

subject=/C=FR/O=TEST/OU=TEST STRUCTURE
issuer=/C=FR/O=TEST/OU=TEST STRUCTURE
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</code></pre>

<p>Could you please tell us if there are any solution?  Should we modify the file verify.c ? Your help will be very appreciated. </p>