I am using the function SSL_CTX_set_cipher_list to set the ciphers supported for the SSL connection. What argument to pass to SSL_CTX_set_cipher_list to disable weak ciphers.
I tried passing ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
but it doesn't seem to work.
My tool to detect weak cipher reports for the following as enabled still
** SSLv3:DES-CBC-SHA - ENABLED - WEAK 56 bits **
** TLSv1:DES-CBC-SHA - ENABLED - WEAK 56 bits **
** SSLv2:RC4-MD5 - ENABLED - WEAK 128 bits ** ** SSLv2:RC2-CBC-MD5 - ENABLED - WEAK 128 bits ** ** SSLv2:RC4-64-MD5 - ENABLED - WEAK 64 bits ** ** SSLv2:DES-CBC-MD5 - ENABLED - WEAK 56 bits ** ** SSLv2:EXP-RC4-MD5 - ENABLED - WEAK 40 bits ** ** SSLv2:EXP-RC2-CBC-MD5 - ENABLED - WEAK 40 bits ** ** SSLv2:DES-CBC3-MD5 - ENABLED - WEAK 168 bits **
What argument to pass to SSL_CTX_set_cipher_list to disable the above ciphers?