Hi, I am trying to load certificate file in this function but it gives error.
SSL_CTX_use_PrivateKey_file Error Message: "no start line". My certificate and CAfile are in pem format... First i made the private key file with this command: "openssl genrsa -des3 -out privkey.pem 2048" then i made the certificate from this command: "openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095" after that i included this certificate in the CAfile with the command: "openssl x509 -in cacert.pem -text >> CAfile.pem" Now where is the mistake or error...due to which it gives that exception. Reply as soon as possible. thanks. Mazhar Nazeer.
