Skip to content

Commit

Permalink
Enable tls credential shell
Browse files Browse the repository at this point in the history
Add a comment about switching between DER and PEM certs for
Memfault.
  • Loading branch information
noahp committed Jun 27, 2024
1 parent 57b6e0b commit da1812a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ CONFIG_NET_L2_WIFI_SHELL=y
CONFIG_MEMFAULT=y
CONFIG_MEMFAULT_LOGGING_ENABLE=y
CONFIG_MEMFAULT_HTTP_ENABLE=y
CONFIG_MEMFAULT_TLS_CERTS_USE_DER=y
CONFIG_MEMFAULT_HTTP_PERIODIC_UPLOAD=y

# Using the DER format certs saves code and memory. To use PEM instead, swap
# the comments on the following two lines.
CONFIG_MEMFAULT_TLS_CERTS_USE_DER=y
# CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y

# Additional network configuration for Memfault features
CONFIG_DNS_RESOLVER=y
CONFIG_NET_SOCKETS=y
Expand All @@ -60,6 +64,9 @@ CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=4096
CONFIG_MBEDTLS_MEMORY_DEBUG=y
CONFIG_MBEDTLS_SHELL=y

CONFIG_BASE64=y
CONFIG_TLS_CREDENTIALS_SHELL=y

# More verbose Memfault component logs
CONFIG_MEMFAULT_LOG_LEVEL_DBG=y

Expand Down

0 comments on commit da1812a

Please sign in to comment.