# SQL Server 2005 Compatibility

## Steps to Enable TLSv1 in Java

Follow these steps to enable TLS 1.0 by modifying the java.security file:

1. #### Locate the java.security File

* Find the file in your Java installation directory:

  * For Java 9 and later: `$JAVA_HOME/conf/security/java.security`
  * For DBSync Bundled JRE:&#x20;

  `"<WINDOWS-BUILD-INSTALLATION-FOLDER>/jre/conf/security/java.security`

2. &#x20;**Edit the File**

* Open the java. security file in a text editor with administrative or root permissions.

3. **Locate the jdk.tls.disabledAlgorithms Property**\
   **Look for a line similar to:**

   `jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, ...`

4. **Enable TLS 1.0**

   * Remove TLSv1 from the list of disabled algorithms. For example:

   \
   **Original:**\
   &#x20;

   `jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA`

   **Modified:**

`jdk.tls.disabledAlgorithms=SSLv3, TLSv1.1, RC4, DES, MD5withRSA`

5. **Save and Apply Changes**

   * Save the modified file and restart your Java application or server to apply the changes.

   \ <br>

### **Verification**

After completing these steps, test the connectivity between your Java application and SQL Server 2005 to confirm that TLS 1.0 is functioning as expected.

### Recommendation

This change should be treated as a temporary workaround. Plan to upgrade SQL Server 2005 to a supported version to align with modern security standards and avoid reliance on outdated protocols like TLS 1.0.

<br>

<br>
