Hi, I am trying to create a client/server application on windows 7, where I
have used self signed certificate at server side as well as at client side.
I used SSL_CTX_use_certificate_file and then SSL_CTX_use_PrivateKey_file API
to load the certificate and key.When there is a SSL_connect() call from
client, the handshaking fails with the error statingError 18: self signed
certificate. So I want help related to- how to use and verify self signed
certificate.The certificate are generated by using following commandopenssl
req -x509 -nodes -days 1059 -newkey rsa:2048 -keyout testkey.pem -out
testcert.pem -config pathtoconfig\openssl.cnfRegardsManoj



--
View this message in context: 
http://openssl.6102.n7.nabble.com/Error-18-self-signed-certificate-tp47361.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

Reply via email to