on 2022 Mar 16 7:51 PM
Hello Guys,
While doing the initial configuration of customer checkout manager , ( SQL Database) I am getting an error like
"The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]". ClientConnectionId:dd0fdb08-fe57-438a-961c-6c02c54934e8"
I am attaching the error and configuration details provided.screenshot-12.pngscreenshot-13.png
Currently I am using SP12 PATCH LEVEL 7. Kindly help me to solve the issue.
Request clarification before answering.
Hello Vishnu,
the error you posted initially shows the problem lies on the DB side. You said you're using SQL Server 2012, and that's probably the root cause. The 2012 edition didn't support TLSv1.2 initially, it only came with later updates. On the other hand, newer versions of Java 11 have support for TLSv1.0/1.1 disabled (best industry practice nowadays). So your CCOM is trying to use TLSv1.2, but it's saying the DB it is trying to connect to doesn't support it - but rather only the old v1.0 protocol.
You can try to upgrade your SQL 2012 instance to SP4 together with the latest security fixes (latest build: v11.0.7507.2), and then try again the DB connection setup from within CCOM - that should do the trick.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vishnu-109
as per note 2199062 "edit lib/security/java.security and remove TLSv1 and TLSv1.1 from the jdk.tls.disabledAlgorithms property"
Then if it works, you may start the investigation on why that test is running on tls below 1.2
cheers!A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Amo,
i have installed SAPMACHINE JRE 11.0.1,
i checked under the path C:\Program Files\Java\sapmachine-jre-11.0.14.1\lib\security but am unable to find the Java.security file. I am attaching the file details under the path C:\Program Files\Java\sapmachine-jre-11.0.14.1\lib\security. Kindly check and let me know which file i need to editscreenshot-14.png
Regards
Vishnu Sivanandhan
default.txt Hi Amo,
I checked the default policy file not able to find jdk.tls.disabledAlgorithms property. I am attaching the file for your reference.
Regards
Vishnu
hey vishnu-109
i'm starting to get the grip on your landscape 🙂 so bear with me...
While i'm checking how sapmachine jre sec policy works, can you clarify if your sql server support tls1.2 ? if you have doubts refer to kb3135244
also let see if we can get a boss in this thread, bikash.bansal can you throw some light on where the issue sits?
I'll get you sorted!A
Dear Amo,
we are using OS windows server 2019 standard. As per note windows server 2019 will support TLS 1.2 by default.
currently i am working on SQL version- Microsoft SQL server 2012 and Sap Business one 9.3 PL07. I tried to connect CCO manager to another test environment ( which is in same network) having SQL version - Microsoft SQL SERVER 2019 (RTM) and SAP Business one version 10.0 FP 2011. i am able to connect without any issues. This test server also working on OS windows server 2019.
Hi Vishnu,
Is the TLS 1.2 enabled in your Internet Options?
You can check it in the Control Panel > Internet Options > Advanced
Scroll to the bottom and check if the "Use TLS 1.2" is enabled
Regards,
Anderson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.