<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      NET CORE LINUX 部署 報 A connection was successfully established with the server, but then an error occurred during the pre-login handshake.解決方法

      部署環境:NET5

      數據庫:SQL SERVER 2014

      操作系統:Centos8

      異常:

      : System.Exception: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
      ---> Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
      ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
      ---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.
      ---> Interop+Crypto+OpenSslCryptographicException: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
      --- End of inner exception stack trace ---

      ……………………………………

      :line 62A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
      ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
      ---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.
      ---> Interop+Crypto+OpenSslCryptographicException: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
      --- End of inner exception stack trace ---
      at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, ReadOnlySpan`1 input, Byte[]& sendBuf, Int32& sendCount) in /_/src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.OpenSsl.cs:line 282
      at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteSslContext& context, ReadOnlySpan`1 inputBuffer, Byte[]& outputBuffer, SslAuthenticationOptions sslAuthenticationOptions) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Unix.cs:line 114
      --- End of inner exception stack trace ---
      at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.Implementation.cs:line 393
      at System.Net.Security.SslStream.ProcessAuthentication(Boolean isAsync, Boolean isApm, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.Implementation.cs:line 215
      at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.cs:line 297
      at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.cs:line 283
      at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost) in /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.cs:line 264
      at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
      at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
      at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
      at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

      ……

      原因:因為SQL SERVER2014不支持 不支持TLSv1.2

      最終解決辦法:

      修改文件:/usr/share/crypto-policies/DEFAULT/opensslcnf.txt

       

      為:

       

       

      1、 @SECLEVEL=2 修改為 @SECLEVEL=1

      2、TLSv1.2 修改 TLSv1.0

      再次運行,完美連接SQL SERVER

       

      posted @ 2022-06-07 18:21  cnkker.com  閱讀(4112)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲人妻一区二区精品| 一本久道久久综合中文字幕| 亚洲18禁私人影院| 国产91麻豆精品成人区| 婷婷五月综合激情| 中文国产人精品久久蜜桃| 国产国语一级毛片| 精品一区二区三区国产馆| 国产在线啪| 99国产欧美另类久久久精品| 精品一日韩美女性夜视频| 亚洲精品一品区二品区三品区| 国产熟女一区二区三区蜜臀| 黄又色又污又爽又高潮| 99久久99久久精品国产片| 国产成人精品一区二三区| 国产美女精品自在线拍免费| 久播影院无码中文字幕| 六十路老熟妇乱子伦视频| 夜夜添无码试看一区二区三区| 国产av一区二区亚洲精品| 1000部拍拍拍18勿入免费视频| 亚洲精品码中文在线观看| 国产亚洲制服免视频| 少妇真人直播免费视频| 精品一区二区三区无码视频| 亚洲一区二区三区色视频| 四虎在线成人免费观看| 狠狠做五月深爱婷婷天天综合 | 中文字幕亚洲综合久久综合 | 国产精品1区2区3区在线观看| 九九热在线视频免费观看| 国产精品不卡区一区二| 好吊妞人成视频在线观看| 18禁一区二区每日更新| 国产一区二区三区精品综合| 色狠狠综合天天综合综合| 丰满人妻被黑人连续中出| 99re热视频这里只精品| 亚洲国产成人精品女久久| 久久精品a亚洲国产v高清不卡|