I am using a python client to connect to C++ server over https. However when a client tries to download some file from the server I get a error reported by the server as "The client and server cannot communicate, because they do not possess a common algorithm."
The client and the server are on the same machine. The server uses the following command to create a pem file:
openssl.exe" req -new -newkey rsa:1024 -days 9999 -nodes -x509 \
-keyout etc\\filestore.pem -out etc\\filestore.pem
What have I tried ?
There is a url that gets generated in the server. I pasted this url in the chrome browser. Where I got a warning like:
I met this problem today, too. I have resolved it. It's because your client does not support the SSL3.0 algorithms your server uses. Just change your serverside code from:
SSLv3_server_method()
to:
SSLv23_server_method()
I did resolve the issue . SSLScan tool came to my rescue . SSLScan --no-failed port> gave me the list of supported ciphers that the server supported . On the client side I am using curl library calls to download the file . What I did was
setOpt(new curlpp::options::SslCipherList("AES256-SHA"));
which set the cipher that my server was supporting .
User contributions licensed under CC BY-SA 3.0