• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

[DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error.

hosting operation

New Pleskian
Hi,

I found the following error on my server when i add the Ms SQL server as database

Error: The test connection to the database server has failed because of network problems:

Get database server version failed: mssqlmng failed: [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error.
at (VADOConnection::eek:pen line 48)
at Unable to ADO conect with connection string: Provider=SQLOLEDB.1;Initial Catalog=master;Data Source=localhost(VADODatabaseProvider::connect line 182)
at execute console command --get-server-version(vconsoleapp::start line 100)
at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\mssqlmng.exe" --get-server-version "--server=localhost" "--login=admin" "--password=*"(vconsoleapp::run line 117)
(Error code 1)

My server is Windows server 2012 r2
My database is SQL server 2012
and Plesk 12.5.30

Only TLS 1.2 is enable on, and all the client side the TLS 1.2 is set on

I've updated the microsoft TLS 1.2 support as the following link :

https://support.microsoft.com/en-us/kb/3135244

Can anyone help me?
 
You need to install the new MSOLEDBSQL provider from Microsoft and replace "SQLOLEDB" with MSOLEDBSQL in your connection string. You might have some minor errors with DateTime2 data elements in a website, but you can fix those by manually forcing datetime conversions to be MM/DD/YYYY HH:MM:SS and that takes care of it.

I posted this here since we're upgrading all our PCs here to TLS 1.2 and I spent a bit of time getting that answer and fixing them. It works just fine for almost all things for me.
 
You need to install the new MSOLEDBSQL provider from Microsoft and replace "SQLOLEDB" with MSOLEDBSQL in your connection string. You might have some minor errors with DateTime2 data elements in a website, but you can fix those by manually forcing datetime conversions to be MM/DD/YYYY HH:MM:SS and that takes care of it.

I posted this here since we're upgrading all our PCs here to TLS 1.2 and I spent a bit of time getting that answer and fixing them. It works just fine for almost all things for me.
It not helped me
 
To solve this issue I used the tool: IISCrypto.exe to enable TLS 1, 1.2 etc. in the server. After enabling the required version of TLS, the issue got resolved.. I hope this helps.
 
Back
Top