Skip to content

Commit be19021

Browse files
committed
samples: net: http_client: Update TLS configuration
Python HTTPS server counterpart for the sample now seems to enforce ECDHE key exchange, so enable it in the sample. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1 parent 4852719 commit be19021

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/net/sockets/http_client/overlay-tls.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ CONFIG_MBEDTLS_BUILTIN=y
88
CONFIG_MBEDTLS_ENABLE_HEAP=y
99
CONFIG_MBEDTLS_HEAP_SIZE=60000
1010
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
11+
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED=y
12+
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
13+
CONFIG_MBEDTLS_ECDH_C=y
14+
CONFIG_MBEDTLS_ECP_C=y
1115

1216
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
1317
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=6

0 commit comments

Comments
 (0)