# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/target-setup/sql-server-2005-compatibility.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
