Hi Aapo,

Thus wrote Aapo Alasuutari ([email protected]):

> Basically it seems like SSL doesn't know what format the certificate is.  
> Maybe...? I'm not too informed of OpenSSL's behaviour, but judging on  
> extensive Googling and some similar problems, the solution usually lies  
> in the format of the certificate.

if your certificate is http://www.ca.tut.fi/ca/tut-ca.crt, then this
file is in DER format. The file contains the raw ASN.1 encoding of the
certificate data.

Try converting the certificate to PEM format

openssl x509 -inform DER -in tut-ca.crt -out tut-ca.pem

and use this file as input to your application.

Best regards,

   Martin
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to