The doc says :

"Create an OCSP request and write it to a file:

 openssl ocsp -issuer issuer.pem -cert c1.pem -cert c2.pem -reqout req.der
"

In my test, I try to do exactly that with :
openssl ocsp  -issuer ocsp_ca.pem -cert ocsp_valide.cer  -cert 
ocsp_revoque.cer -reqout req.der

But no req.der file is created.

openssl ocsp  -issuer ocsp_ca.pem -cert ocsp_valide.cer  -cert 
ocsp_revoque.cer -text
gives me this :

OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: F2891129F54C9DDEAA3E936DBFB870560335231F
          Issuer Key Hash: 6BFA75BDCDF62581B3A4265BB4462F11D3321B78
          Serial Number: 56C745365CDD8F771ED95A323267765F
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: F2891129F54C9DDEAA3E936DBFB870560335231F
          Issuer Key Hash: 6BFA75BDCDF62581B3A4265BB4462F11D3321B78
          Serial Number: 01CA788D7569634FDF4BF6B4029CE1A9
    Request Extensions:
        OCSP Nonce:
            955CF8ECF789D6B68443206F4BAE2163

openssl ocsp  -issuer ocsp_ca.pem -cert ocsp_valide.cer  -cert 
ocsp_revoque.cer -text -reqout req.der
gives only the text output and does not create the file.

Are you in the process of writing the programming side documentation for 
the ocsp functionnality ?


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to