diff --git a/fmt/Bean2CoreObj.cpp b/fmt/Bean2CoreObj.cpp index 7fadac7fa..c3c92a19a 100644 --- a/fmt/Bean2CoreObj.cpp +++ b/fmt/Bean2CoreObj.cpp @@ -38,7 +38,7 @@ namespace NekoRay::fmt { if (!certificate.trimmed().isEmpty()) { tls["certificates"] = QJsonArray{ QJsonObject{ - {"certificate", certificate}, + {"certificate", QList2QJsonArray(SplitLines(certificate.trimmed()))}, }, }; }