From f32ec41b4b359ecf0d550fe9747fcc2a87433889 Mon Sep 17 00:00:00 2001 From: tdjnodj <108401163+tdjnodj@users.noreply.github.com> Date: Sun, 14 May 2023 15:23:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=20hysteria=20=E5=9B=BA=E5=AE=9A=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E5=8A=9F=E8=83=BD=E5=A4=B1=E6=95=88=20#583=20(#584)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fmt/Bean2CoreObj_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fmt/Bean2CoreObj_box.cpp b/fmt/Bean2CoreObj_box.cpp index 27a64ce..213e001 100644 --- a/fmt/Bean2CoreObj_box.cpp +++ b/fmt/Bean2CoreObj_box.cpp @@ -164,6 +164,7 @@ namespace NekoRay::fmt { QJsonObject coreTlsObj{ {"enabled", true}, {"insecure", allowInsecure}, + {"certificate", caText.trimmed()}, {"server_name", sni}, }; if (!alpn.trimmed().isEmpty()) coreTlsObj["alpn"] = QJsonArray{alpn};