Skip to content

Commit a5585bd

Browse files
Use TLSv1 by default
TLSv1 is supported by JDK 6. JDK 7 supports TLSv1.1. JDK 8 defaults to TLSv1.2.
1 parent 86ed7ed commit a5585bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class ConnectionFactory implements Cloneable {
8080
public static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000;
8181

8282
/** The default SSL protocol */
83-
private static final String DEFAULT_SSL_PROTOCOL = "SSLv3";
83+
private static final String DEFAULT_SSL_PROTOCOL = "TLSv1";
8484

8585
private String username = DEFAULT_USER;
8686
private String password = DEFAULT_PASS;
@@ -520,7 +520,7 @@ public void useSslProtocol(String protocol)
520520

521521
/**
522522
* Convenience method for setting up an SSL socket factory.
523-
* Pass in the SSL protocol to use, e.g. "TLS" or "SSLv3".
523+
* Pass in the SSL protocol to use, e.g. "TLSv1" or "TLSv1.2".
524524
*
525525
* @param protocol SSL protocol to use.
526526
*/

0 commit comments

Comments
 (0)