Make a CA cert, and sign a server cert with it, and use this in the verify locations call in the client.


Mark wrote:
Hi,

Thanks for the help from everyone with regards to certificates. I now
have
an error when attempting to run my application.

On the server side when I call SSL_accept() I get the error:
  error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

and on the client side when I call SSL_connect() I get the errors:

  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
  verify failed

and

  -Error with certificate at depth: 1
    issuer   = ...
    subject  = ...
    err 19:self signed certificate in certificate chain

Any ideas how I can resolve this, thanks?

Best Regards,
Mark
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]





--
To verify the signature, see http://edelpki.edelweb.fr/ Cela vous permet de charger le certificat de l'autorité; die Liste mit zurückgerufenen Zertifikaten finden Sie da auch.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to