Virtual Machine running Ubuntu: Connectivity issue to on-premises MySQL — Troubleshooting SSL handshake errors

Kimi 蘇士誠 0 Reputation points
2026-10-29T06:56:05.11+00:00

问题描述

我遇到一個問題,使用Azure上的Ubuntu虛擬機器連線到位於本地網路的MSSQL服務時,連線測試(telnet)成功,但MSSQL連線卻一直失敗,出現SSL handshake錯誤訊息。

环境

Azure上的Ubuntu虛擬機器,位置未指定。

我已尝试的操作

我已在Azure Ubuntu VM進行基礎網路測試,telnet到MSSQL服務的1433端口成功,表示TCP連線通暢。但使用MSSQL客戶端或JDBC連線時,出現SSL握手錯誤,且未能取得MSSQL伺服器的錯誤訊息或日誌來進一步診斷。

当前状态

我希望獲得Azure支援團隊的協助,提供下一步測試指令與建議,以確認SSL/TLS設定、憑證信任鏈,以及網路環境是否存在問題,並解決連線失敗的問題。

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.