Commit e7863ce
committed
kconfig: support custom server certs
when a custom server address is set using CONFIG_GOLIOTH_COAP_HOST_URI,
cmake compares the setting to the expected values for prod/dev and includes
the server certificate automatically. This caused the build to fail when a
custom address is selected because no certificate will be included in the
build.
add CONFIG_COAP_SERVER_CERT_PEM_LOCATION which may be set to the location
of a server cert in PEM format. This is optional when using the addresses
of the prod/dev server, but required for all other
CONFIG_GOLIOTH_COAP_HOST_URI values.
Signed-off-by: Mike Szczys <mike@golioth.io>1 parent 2cc1421 commit e7863ce
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
26 | 38 | | |
27 | 39 | | |
28 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments