TLS_CREDENTIAL_CA_CERTIFICATE problem to understand. #48778
Unanswered
CreativeIndustryAg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
i'm working witch echo_clinet example with TLS config, also i'm not experienced in cryptography.
That's why i'm asking you for help.
static const unsigned char ca_certificate[] = { #include "echo-apps-cert.der.inc" };
`int err = tls_credential_add(CA_CERTIFICATE_TAG,
My question is: why is a public certificate assigned to config TLS_CREDENTIAL_CA_CERTIFICATE?
I think: According to the name of this config, a CA certificate should be assigned.
Ofc in documentation there is information https://docs.zephyrproject.org/apidoc/latest/group__tls__credentials.html
" TLS_CREDENTIAL_CA_CERTIFICATE: A trusted CA certificate. Use this to authenticate remote servers. Used with certificate-based ciphersuites."
Is that just a bad config name? do I get something wrong?
Beta Was this translation helpful? Give feedback.
All reactions