Hello all!

I am writing a program that needs make CA functions.

I create a certificate request like this:

aragorn[~/pfc/src/ca]% cat fichero.csr
nombre=sad...asdfa
email=sada....sadf
grupo=alumnos
SPKAC=HJIMA...OQWJDm
enviar=...

Then I pass this to the openssl ca command:

  system("/home/ccosta/pfc/programas/ssl/bin/openssl ca -spkac fichero.csr
-out fichero.crt -days 360 -keyfile
/home/ccosta/pfc/programas/openssl/private/CAkey.pem -key
mykey");

But I receive the next message:

Can't b64 decode SPKAC structure

What must I do?. Best regards, and thanks in advance,
        Carlos.



 _______Carlos Costa Portela__________________________________________ 
|   e-mail:  [EMAIL PROTECTED]  |   http://moana.servidores.net   |
|   www: http://ccp.servidores.net  |     http://www.avisaboe.com     |
|http://compuconsejos.servidores.net|   http://moana.servidores.net   |
|__Tódalas persoas maiores foron nenos antes, pero poucas se lembran__|


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

Reply via email to