Chain of certificate(multiple certificates) usage in Netx Secure
Hi, I am looking for some API which supports chain of certificate feature for NetxSecure TLS, Just like mbedtls_ssl_conf_ca_chain() API in MbedTLS.Need help. Thanks in advance.
Hi, I am looking for some API which supports chain of certificate feature for NetxSecure TLS, Just like mbedtls_ssl_conf_ca_chain() API in MbedTLS.Need help. Thanks in advance.
Hello
To create a chain of certificates Netx secure does not provide a specific API but this can be achieved by manually adding the certificates in their order with the following API call:
UINT nx_secure_tls_trusted_certificate_add(NX_SECURE_TLS_SESSION
*session_ptr, NX_SECURE_X509_CERT *certificate_ptr);
so you will initialize the certificates you want in your chain of certificates one by one then add them using the above add API and be sure to add the certificates in the order of the chain, . Refer to the NETX documentation in this section for more details .
BR
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.