summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/virtual-media/virtual-media/0006-Upd-disable-tls13-ciphers-for-http-protocol.patch
blob: a902b463fb9e4961b95ce93cbabcb966cac906d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From ec722934ab52b372ef03b2f53c92961d040d078e Mon Sep 17 00:00:00 2001
From: Alexandr Ilenko <AIlenko@IBS.RU>
Date: Mon, 6 Jun 2022 21:53:02 +0300
Subject: [PATCH 6/8] Upd: disable "tls13-ciphers" for http protocol

---
 src/state/activating_state.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/state/activating_state.cpp b/src/state/activating_state.cpp
index 6ae7932..f926547 100644
--- a/src/state/activating_state.cpp
+++ b/src/state/activating_state.cpp
@@ -307,9 +307,10 @@ std::unique_ptr<resource::Process>
         "followlocation=false",
         "ssl-cipher-list="
         "ECDHE-RSA-AES256-GCM-SHA384:"
-        "ECDHE-ECDSA-AES256-GCM-SHA384",
+        "ECDHE-ECDSA-AES256-GCM-SHA384"}; /*,
         "tls13-ciphers="
         "TLS_AES_256_GCM_SHA384"};
+        */
 
     // Authenticate if needed
     if (machine.getTarget()->credentials)
-- 
2.35.1