Application Server is not able to connect to SQL Server database when TLS 1.2 or 1.1 is enabledLost databases...

Reduce Reflections

Including proofs of known theorems in master's thesis

Can a Hydra make multiple opportunity attacks at once?

Coworker is trying to get me to sign his petition to run for office. How to decline politely?

What's the meaning of #0?

Build ASCII Podiums

Can I legally make a website about boycotting a certain company?

Can I combine Divination spells with Arcane Eye?

How can changes in personality/values of a person who turned into a vampire be explained?

Figuring out size of Device Drivers and where they are loaded in High Memory

Buying a "Used" Router

Manager has noticed coworker's excessive breaks. Should I warn him?

Why is Shelob considered evil?

Why is quixotic not Quixotic (a proper adjective)?

In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?

How can I persuade an unwilling soul to become willing?

What if you do not believe in the project benefits?

Is layered encryption more secure than long passwords?

How do I avoid the "chosen hero" feeling?

Why and/or operations in python statement are behaving unexpectedly?

How can guns be countered by melee combat without raw-ability or exceptional explanations?

How to transport 10,000 terrestrial trolls across ocean fast?

Badly designed reimbursement form. What does that say about the company?

Checking if an integer permutation is cyclic in Java



Application Server is not able to connect to SQL Server database when TLS 1.2 or 1.1 is enabled


Lost databases in SQL Server 2012SQL Server : Job not reconnecting to restarted Linked ServerSQL Server 2012 Compatibility with New TLS 1.2 StandardsLinked Server Error on SQL Agent JobTLS 1.0 disabled causing errors when requests come from SQL Server to a WebserverError after applying SQL Server 2008 R2 Upgrade 10.50.6542 (Latest Build)SQL Server CLR method failing due to TLS 1.0 shutdownHow to remotely connect SQL Server 2016. Since we have 2012 and 2016 in same serverEnable TLS 1.2 for SQL Server 2016 database mailTLS 1.2 breaks SQL Server linked servers













2















In our environment, SQL Server 2012 Servers whenever TLS 1.2 or TLS 1.1 is enabled Application Server is not able to connect to the database.The same issue is observed only on MS SQL Server 2012 related Servers.



Error Message:




Connection failed:
SQLState: '01000'
SQL Server Error: 1
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials())
Connection failed:
SQLState: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error




enter image description here










share|improve this question

























  • Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

    – Mr.Brownstone
    Feb 7 '18 at 6:43













  • @Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

    – Sin
    Feb 7 '18 at 7:13











  • You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

    – Mr.Brownstone
    Feb 7 '18 at 14:57


















2















In our environment, SQL Server 2012 Servers whenever TLS 1.2 or TLS 1.1 is enabled Application Server is not able to connect to the database.The same issue is observed only on MS SQL Server 2012 related Servers.



Error Message:




Connection failed:
SQLState: '01000'
SQL Server Error: 1
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials())
Connection failed:
SQLState: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error




enter image description here










share|improve this question

























  • Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

    – Mr.Brownstone
    Feb 7 '18 at 6:43













  • @Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

    – Sin
    Feb 7 '18 at 7:13











  • You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

    – Mr.Brownstone
    Feb 7 '18 at 14:57
















2












2








2








In our environment, SQL Server 2012 Servers whenever TLS 1.2 or TLS 1.1 is enabled Application Server is not able to connect to the database.The same issue is observed only on MS SQL Server 2012 related Servers.



Error Message:




Connection failed:
SQLState: '01000'
SQL Server Error: 1
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials())
Connection failed:
SQLState: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error




enter image description here










share|improve this question
















In our environment, SQL Server 2012 Servers whenever TLS 1.2 or TLS 1.1 is enabled Application Server is not able to connect to the database.The same issue is observed only on MS SQL Server 2012 related Servers.



Error Message:




Connection failed:
SQLState: '01000'
SQL Server Error: 1
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (SECCreateCredentials())
Connection failed:
SQLState: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error




enter image description here







sql-server-2012 windows-server-2012 tls-1.2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 7 '18 at 6:45









Mr.Brownstone

9,16932342




9,16932342










asked Feb 7 '18 at 6:38









SinSin

1113




1113













  • Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

    – Mr.Brownstone
    Feb 7 '18 at 6:43













  • @Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

    – Sin
    Feb 7 '18 at 7:13











  • You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

    – Mr.Brownstone
    Feb 7 '18 at 14:57





















  • Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

    – Mr.Brownstone
    Feb 7 '18 at 6:43













  • @Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

    – Sin
    Feb 7 '18 at 7:13











  • You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

    – Mr.Brownstone
    Feb 7 '18 at 14:57



















Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

– Mr.Brownstone
Feb 7 '18 at 6:43







Have you installed the update for Windows Server 2012? Most likely, your application server does not support TLS or it has not been set as the default security protocol.

– Mr.Brownstone
Feb 7 '18 at 6:43















@Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

– Sin
Feb 7 '18 at 7:13





@Mr.Brownstone Yes the application supports TLS, and its actually Windows Server 2008R2 (Database Server) and application is on Windows Server 2012. Which side should we apply the update you suggested, application end or database server end, thanks in advance!

– Sin
Feb 7 '18 at 7:13













You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

– Mr.Brownstone
Feb 7 '18 at 14:57







You need to provide a lot more information - like the build numbers of Windows for both the application and the database servers. Also, the build number for SQL Server. Have you taken a look at this article? What have you done to try and resolve it?

– Mr.Brownstone
Feb 7 '18 at 14:57












1 Answer
1






active

oldest

votes


















0














Solution



In order to address this problem, please open the Local Security Policy settings on your WhatsUp Gold server and set the use of FIPS compliant algorithm to "enabled" and run gpupdate /Force from an elevated (As Admin) CMD prompt afterwards - this is not a dynamic change and requires a reboot.



Local Security Policy --> Local Policies --> Security Options --> ‘System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing






share|improve this answer








New contributor




Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "182"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f197236%2fapplication-server-is-not-able-to-connect-to-sql-server-database-when-tls-1-2-or%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Solution



    In order to address this problem, please open the Local Security Policy settings on your WhatsUp Gold server and set the use of FIPS compliant algorithm to "enabled" and run gpupdate /Force from an elevated (As Admin) CMD prompt afterwards - this is not a dynamic change and requires a reboot.



    Local Security Policy --> Local Policies --> Security Options --> ‘System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing






    share|improve this answer








    New contributor




    Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Solution



      In order to address this problem, please open the Local Security Policy settings on your WhatsUp Gold server and set the use of FIPS compliant algorithm to "enabled" and run gpupdate /Force from an elevated (As Admin) CMD prompt afterwards - this is not a dynamic change and requires a reboot.



      Local Security Policy --> Local Policies --> Security Options --> ‘System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing






      share|improve this answer








      New contributor




      Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Solution



        In order to address this problem, please open the Local Security Policy settings on your WhatsUp Gold server and set the use of FIPS compliant algorithm to "enabled" and run gpupdate /Force from an elevated (As Admin) CMD prompt afterwards - this is not a dynamic change and requires a reboot.



        Local Security Policy --> Local Policies --> Security Options --> ‘System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing






        share|improve this answer








        New contributor




        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Solution



        In order to address this problem, please open the Local Security Policy settings on your WhatsUp Gold server and set the use of FIPS compliant algorithm to "enabled" and run gpupdate /Force from an elevated (As Admin) CMD prompt afterwards - this is not a dynamic change and requires a reboot.



        Local Security Policy --> Local Policies --> Security Options --> ‘System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing







        share|improve this answer








        New contributor




        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 12 mins ago









        Zaalouni MohamedZaalouni Mohamed

        1




        1




        New contributor




        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Zaalouni Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Database Administrators Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f197236%2fapplication-server-is-not-able-to-connect-to-sql-server-database-when-tls-1-2-or%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

            Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

            How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...