Skip to main content

Enable TLS 1.1 and 1.2 in Java 1.7 or Java 1.6

From 23 May 2017 onwards, we will disable the TLS 1.0 encryption protocol across the University's web services. Disabling TLS 1.0 prevents it from being used to access Warwick websites via an insecure web browser or application. We're making this change to keep the University's websites safe and secure.

If your application connects to Single Sign-on ( or WebGroups ( via a server-to-server connection, and your application runs in a JVM on a version of Java prior to 1.8, you need to change your application to support TLS 1.1 and/or TLS 1.2 for communicating to Single Sign-on and WebGroups.

If your application runs on Java 1.7 or Java 1.6 (update 111 or later), you can set the https.protocols system property when starting the JVM to enable additional protocols for connections made using the HttpsURLConnection class – for example, by setting -Dhttps.protocols=TLSv1.1,TLSv1.2.

If your application runs on Java 1.6 prior to update 111, or earlier, TLS 1.1 and 1.2 are not supported. You therefore need to update the version of Java your application runs on.

If you use another library for connections such as Apache HttpClient, you should consult documentation to enable TLS 1.1 and v1.2.