Chain of certificate(multiple certificates) usage in Netx Secure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-30 8:54 PM
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.
Solved! Go to Solution.
- Labels:
-
Cryptography
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-05 4:08 AM
Hello @Nitin ,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-05 4:08 AM
Hello @Nitin ,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-12 9:35 AM
Thanks @STea for prompt reply. I will shortly get back after experimenting this.
