mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8783: specify ciphersuite SSL_DH_anon_WITH_3DES_EDE_CBC_SHA in MockServerTest.java
This commit is contained in:
parent
a7418751c1
commit
0f70833dd8
|
|
@ -161,7 +161,8 @@ public class MockServerTest extends TestCase {
|
|||
|
||||
final SSLSocketFactory sslSocketFactory = (SSLSocketFactory)SSLSocketFactory.getDefault();
|
||||
SSLSocket sslSocket = (SSLSocket)sslSocketFactory.createSocket(socket, address.getHostName(), address.getPort(), true);
|
||||
sslSocket.setEnabledCipherSuites(sslSocket.getSupportedCipherSuites());
|
||||
//sslSocket.setEnabledCipherSuites(sslSocket.getSupportedCipherSuites());
|
||||
sslSocket.setEnabledCipherSuites(new String[] { "SSL_DH_anon_WITH_3DES_EDE_CBC_SHA" });
|
||||
sslSocket.startHandshake();
|
||||
|
||||
InputStream is = sslSocket.getInputStream();
|
||||
|
|
|
|||
Loading…
Reference in New Issue