Skip to content

Commit 092a79f

Browse files
committed
fix(build): Set default value for secondary CA cert to false
The secondary CA cert is really optional, as a custom Mender Server could use the same domain for both API calls and Artifacts storage. Set `MENDER_NET_CA_CERTIFICATE_TAG_SECONDARY_ENABLED` default to `n` and instead select it when selecting hosted Mender option(s). Ticket: MEN-8351 Signed-off-by: Lluis Campos <[email protected]>
1 parent f4436de commit 092a79f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

target/zephyr/Kconfig

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ if MENDER_MCU_CLIENT
4343

4444
config MENDER_SERVER_HOST_US
4545
bool "https://hosted.mender.io"
46+
select MENDER_NET_CA_CERTIFICATE_TAG_SECONDARY_ENABLED
4647
help
4748
hosted Mender US
4849
config MENDER_SERVER_HOST_EU
4950
bool "https://eu.hosted.mender.io"
51+
select MENDER_NET_CA_CERTIFICATE_TAG_SECONDARY_ENABLED
5052
help
5153
hosted Mender EU
5254
config MENDER_SERVER_HOST_ON_PREM
@@ -460,7 +462,7 @@ if MENDER_MCU_CLIENT
460462

461463
config MENDER_NET_CA_CERTIFICATE_TAG_SECONDARY_ENABLED
462464
bool "Enable MENDER_NET_CA_CERTIFICATE_TAG_SECONDARY"
463-
default y
465+
default n
464466
help
465467
Enables the secondary CA tag. If this option is enabled, the user must add the two certificates with tls_credential_add
466468

0 commit comments

Comments
 (0)