Hello,
I am not sure how to do this with the new cpanel native ssl support. Until cpanel provides with you with a fix you can do the following.
edit /var/cpanel/cpanel.config and change nativessl=1 to nativessl=0 . This will make cpanel use stunnel again.
The you should edit /usr/local/cpanel/etc/stunnel/default/stunnel.conf and add
options = NO_SSLv2 just below the Authentication stuff and restart cpanel.
SSLv2 support for all cpanel ports will now be disabled. You can test this like :
Code:
$ openssl s_client -host serversipadress -port 2083 -verify -debug -ssl2
verify depth is 0
CONNECTED(00000003)
write:errno=104
SSLv3 and TLSv1 will still work, you can test it using :
Code:
$ openssl s_client -host serversipaddress -port 2083 -verify -debug -ssl3
verify depth is 0
CONNECTED(00000003)
depth=0 /C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=server.mydomain.com/emailAddress=ssl.net
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=server.mydomain.com/emailAddress=ssl.net
verify return:1
---
Certificate chain
0 s:/C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=server.mydomain.com/emailAddress=ssl.net
i:/C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=server.mydomain.com/emailAddress=ssl.net
.....
.....
.....
---
No client certificate CA names sent
---
SSL handshake has read 1065 bytes and written 312 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 1024 bit
SSL-Session:
Protocol : SSLv3
Cipher : AES256-SHA
Session-ID: 4D82505199748AEF3D1F5447A87C19C15A8D1B71E41811EC88CB51377BBEAC66
Session-ID-ctx:
Master-Key: 7678931110FC624DFA6BE32D41B36940F90F0DB9CB0F757893196342D5BABEB11DD0758E8CE5EDE07A4ED809123A9415
Key-Arg : None
Krb5 Principal: None
Start Time: 1188882223
Timeout : 7200 (sec)
Verify return code: 18 (self signed certificate)
---
Please let me know if you have any questions.