Why is TLS_CREDENTIAL_PRIVATE_KEY not implemented


Linux Weekend Learning
 

I tried to debug my problem and found that  TLS_CREDENTIAL_PRIVATE_KEY is not implemented. I need to set private key and my certificate and both are not implemented. When setting
certificate it is looking for private key which is not stored
This is the code in socket_tls.c file tls_set_credential

 case TLS_CREDENTIAL_PRIVATE_KEY:
/* Ignore private key - it will be used together
* with public certificate
*/
break;

Join devel@lists.zephyrproject.org to automatically receive all group messages.