Edgelock SE051: TLS server mutual authentication

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Edgelock SE051: TLS server mutual authentication

跳至解决方案
4,059 次查看
mukeshkumar_prajapati
Contributor II

Hello NXP community,

I am using SE051 with embedded Linux, where I store private key in SE051 and certificate is in file system, embedded Linux board run as TLS server and want to enable mutual authentication using SE051, I read example codes and online document where I could not find any solution which match my requirement. could you support on this How can I achieve this  using openssl C API.

Thanks in advance,

Mukesh Prajapati

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
4,038 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @mukeshkumar_prajapati ,

 

We have a script for TLS server in the folder of simw-top\demos\linux\tls_client\scripts, named as "tlsServer.sh", for demo purpose, it uses the server key stored locally, and if you store the key in SE, you may create a ref key to it. Please kindly refer to simw-top/doc/demos/se05x/seTool/Readme.html for details.

 

If you run TLS server and TLS client within the same platform, you have to use the accessManager as well. Please kindly refer to  simw-top/doc/hostlib/hostLib/accessManager/doc/accessManager.html for more detais.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
357 次查看
MohitGediya
Contributor III

What if setup runs on zephyr based OS(server).
Which operations we can perform ?

0 项奖励
回复
4,039 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @mukeshkumar_prajapati ,

 

We have a script for TLS server in the folder of simw-top\demos\linux\tls_client\scripts, named as "tlsServer.sh", for demo purpose, it uses the server key stored locally, and if you store the key in SE, you may create a ref key to it. Please kindly refer to simw-top/doc/demos/se05x/seTool/Readme.html for details.

 

If you run TLS server and TLS client within the same platform, you have to use the accessManager as well. Please kindly refer to  simw-top/doc/hostlib/hostLib/accessManager/doc/accessManager.html for more detais.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
3,935 次查看
mukeshkumar_prajapati
Contributor II
Hello @Kan_Li ,

Thanks for your reply, and it has resolved my issue.
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2113708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEdgelock%20SE051%EF%BC%9ATLS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9B%B8%E4%BA%92%E9%AA%8C%E8%AF%81%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2113708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%81%A9%E6%99%BA%E6%B5%A6%E7%A4%BE%E5%8C%BA%E3%80%81%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%B5%8C%E5%85%A5%E5%BC%8F%20Linux%20%E7%9A%84%20SE051%EF%BC%8C%E5%85%B6%E4%B8%AD%E6%88%91%E5%B0%86%E7%A7%81%E9%92%A5%E5%AD%98%E5%82%A8%E5%9C%A8%20SE051%20%E4%B8%AD%EF%BC%8C%E8%AF%81%E4%B9%A6%E5%AD%98%E5%82%A8%E5%9C%A8%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E4%B8%AD%EF%BC%8C%E5%B5%8C%E5%85%A5%E5%BC%8F%20Linux%20%E6%9D%BF%E4%BD%9C%E4%B8%BA%20TLS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%90%E8%A1%8C%EF%BC%8C%E5%B9%B6%E6%83%B3%E4%BD%BF%E7%94%A8%20SE051%20%E5%90%AF%E7%94%A8%E5%8F%8C%E5%90%91%E8%BA%AB%E4%BB%BD%E9%AA%8C%E8%AF%81%EF%BC%8C%E6%88%91%E9%98%85%E8%AF%BB%E4%BA%86%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E5%92%8C%E5%9C%A8%E7%BA%BF%E6%96%87%E6%A1%A3%EF%BC%8C%E4%BD%86%E6%89%BE%E4%B8%8D%E5%88%B0%E7%AC%A6%E5%90%88%E6%88%91%E8%A6%81%E6%B1%82%E7%9A%84%E4%BB%BB%E4%BD%95%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E3%80%82%E8%AF%B7%E9%97%AE%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20openssl%20C%20API%20%E5%AE%9E%E7%8E%B0%E8%BF%99%E4%B8%80%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%3CP%3E%E6%8F%90%E5%89%8D%E6%84%9F%E8%B0%A2%EF%BC%81%3C%2FP%3E%3CP%3E%E7%A9%86%E5%85%8B%E4%BB%80-%E6%99%AE%E6%8B%89%E8%B4%BE%E5%B8%95%E8%92%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2113708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ESE050%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2374396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Edgelock%20SE051%3A%20TLS%20server%20mutual%20authentication%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2374396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A6%82%E6%9E%9C%E8%AE%BE%E7%BD%AE%E5%9C%A8%E5%9F%BA%E4%BA%8E%20zephyr%20%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%EF%BC%88%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%89%E4%B8%8A%E8%BF%90%E8%A1%8C%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%3CBR%20%2F%3E%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%E6%89%A7%E8%A1%8C%E5%93%AA%E4%BA%9B%E6%93%8D%E4%BD%9C%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2124463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Edgelock%20SE051%3A%20TLS%20server%20mutual%20authentication%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2124463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%82%A8%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F59276%22%20target%3D%22_blank%22%3E%40Kan_Li%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%EF%BC%8C%E5%AE%83%E8%A7%A3%E5%86%B3%E4%BA%86%E6%88%91%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2114329%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Edgelock%20SE051%3A%20TLS%20server%20mutual%20authentication%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2114329%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242577%22%20target%3D%22_blank%22%3E%40mukeshkumar_prajapati%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E6%88%91%E4%BB%AC%E5%9C%A8%20simw-top%5Cdemos%5Clinux%5Ctls_client%5Cscripts%20%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%AD%E6%9C%89%E4%B8%80%E4%B8%AA%20TLS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%84%9A%E6%9C%AC%EF%BC%8C%E5%90%8D%E4%B8%BA%22tlsServer.sh%22%20%E3%80%81%E4%B8%BA%E6%BC%94%E7%A4%BA%E7%9B%AE%E7%9A%84%EF%BC%8C%E5%AE%83%E4%BD%BF%E7%94%A8%E6%9C%AC%E5%9C%B0%E5%AD%98%E5%82%A8%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%AF%86%E9%92%A5%EF%BC%8C%E5%A6%82%E6%9E%9C%E5%B0%86%E5%AF%86%E9%92%A5%E5%AD%98%E5%82%A8%E5%9C%A8%20SE%20%E4%B8%AD%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%B8%BA%E5%85%B6%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%20ref%20%E5%AF%86%E9%92%A5%E3%80%82%E8%AF%A6%E6%83%85%E8%AF%B7%E5%8F%82%E9%98%85%20simw-top%2Fdoc%2Fdemos%2Fse05x%2FseTool%2FReadme.html%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E5%9C%A8%E5%90%8C%E4%B8%80%E5%B9%B3%E5%8F%B0%E4%B8%8A%E8%BF%90%E8%A1%8C%20TLS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%92%8C%20TLS%20%E5%AE%A2%E6%88%B7%E7%AB%AF%EF%BC%8C%E8%BF%98%E5%BF%85%E9%A1%BB%E4%BD%BF%E7%94%A8%20accessManager%E3%80%82%E6%9B%B4%E5%A4%9A%E8%AF%A6%E6%83%85%E8%AF%B7%E5%8F%82%E8%80%83%20simw-top%2Fdoc%2Fhostlib%2FhostLib%2FaccessManager%2Fdoc%2FaccessManager.html%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E5%AF%B9%E4%BD%A0%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%81%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E7%A5%9D%E6%82%A8%E6%84%89%E5%BF%AB%EF%BC%8C%3CBR%20%2F%3EKan%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3E%E6%B3%A8%EF%BC%9A%3CBR%20%2F%3E-%20%E5%A6%82%E6%9E%9C%E6%9C%AC%E5%B8%96%E5%9B%9E%E7%AD%94%E4%BA%86%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E7%82%B9%E5%87%BB%22%E6%A0%87%E8%AE%B0%E6%AD%A3%E7%A1%AE%22%20%E6%8C%89%E9%92%AE%E3%80%82%E8%B0%A2%E8%B0%A2%EF%BC%81%3CBR%20%2F%3E-%20%E6%88%91%E4%BB%AC%E4%BC%9A%E5%9C%A8%E6%9C%80%E5%90%8E%E4%B8%80%E6%AC%A1%E5%8F%91%E5%B8%96%E5%90%8E%E7%9A%84%207%20%E5%91%A8%E5%86%85%E8%B7%9F%E8%B8%AA%E4%B8%BB%E9%A2%98%EF%BC%8C%E4%B9%8B%E5%90%8E%E7%9A%84%E5%9B%9E%E5%A4%8D%E5%B0%86%E8%A2%AB%E5%BF%BD%E7%95%A5%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E4%BB%A5%E5%90%8E%E6%9C%89%E7%9B%B8%E5%85%B3%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E5%8F%A6%E5%BC%80%E6%96%B0%E4%B8%BB%E9%A2%98%EF%BC%8C%E5%B9%B6%E5%8F%82%E8%80%83%E5%B7%B2%E5%85%B3%E9%97%AD%E7%9A%84%E4%B8%BB%E9%A2%98%E3%80%82%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E