Online Provisioning

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Online Provisioning

144 Views
NEXUSNERD
Contributor II

I have successfully completed the online Provisioning on my board , now what I have to do is I have extract the cert or key or possible read the blob which is created  after the edge2lock provisioning so is it possible to do that ? 

Using Frdm i.mx93

 

Tags (2)
0 Kudos
Reply
2 Replies

97 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may use pkcs11-tool for this, please have a look to the documentation here:
https://github.com/nxp-imx/imx-smw/blob/release/version_5.x/Documentations/user_guide/pkcs11/pkcs11_...

Also, I would suggest to have a look to the SMW user manual:
https://github.com/nxp-imx/imx-smw/blob/release/version_5.x/Documentations/user_manual/SMW_UserManua...

Best regards/Saludos,
Aldo.

0 Kudos
Reply

66 Views
NEXUSNERD
Contributor II
Hi Aldo,

Thank you for your reply.

I have already tried using pkcs11-tool with the SMW PKCS#11 provider after successful online provisioning on the FRDM i.MX93, but I cannot see or read the provisioned certificate or key.

Could you please clarify:

Are the provisioned certificate and private key expected to be accessible through the PKCS#11 interface?
If not, are they stored securely in ELE and intended to be used only through PSA Crypto/SMW APIs without being exported?
My goal is to use the provisioned credentials for mutual TLS.
Thank you.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2395476%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EOnline%20Provisioning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2395476%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20successfully%20completed%20the%20online%20Provisioning%20on%20my%20board%20%2C%20now%20what%20I%20have%20to%20do%20is%20I%20have%20extract%20the%20cert%20or%20key%20or%20possible%20read%20the%20blob%20which%20is%20created%26nbsp%3B%20after%20the%20edge2lock%20provisioning%20so%20is%20it%20possible%20to%20do%20that%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20Frdm%20i.mx93%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Online%20Provisioning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20may%20use%20pkcs11-tool%20for%20this%2C%20please%20have%20a%20look%20to%20the%20documentation%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-smw%2Fblob%2Frelease%2Fversion_5.x%2FDocumentations%2Fuser_guide%2Fpkcs11%2Fpkcs11_tool_user_guide.md%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-smw%2Fblob%2Frelease%2Fversion_5.x%2FDocumentations%2Fuser_guide%2Fpkcs11%2Fpkcs11_tool_user_guide.md%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20I%20would%20suggest%20to%20have%20a%20look%20to%20the%20SMW%20user%20manual%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-smw%2Fblob%2Frelease%2Fversion_5.x%2FDocumentations%2Fuser_manual%2FSMW_UserManual_UM12513.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-smw%2Fblob%2Frelease%2Fversion_5.x%2FDocumentations%2Fuser_manual%2FSMW_UserManual_UM12513.pdf%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Online%20Provisioning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Aldo%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20already%20tried%20using%20pkcs11-tool%20with%20the%20SMW%20PKCS%2311%20provider%20after%20successful%20online%20provisioning%20on%20the%20FRDM%20i.MX93%2C%20but%20I%20cannot%20see%20or%20read%20the%20provisioned%20certificate%20or%20key.%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20clarify%3A%3CBR%20%2F%3E%3CBR%20%2F%3EAre%20the%20provisioned%20certificate%20and%20private%20key%20expected%20to%20be%20accessible%20through%20the%20PKCS%2311%20interface%3F%3CBR%20%2F%3EIf%20not%2C%20are%20they%20stored%20securely%20in%20ELE%20and%20intended%20to%20be%20used%20only%20through%20PSA%20Crypto%2FSMW%20APIs%20without%20being%20exported%3F%3CBR%20%2F%3EMy%20goal%20is%20to%20use%20the%20provisioned%20credentials%20for%20mutual%20TLS.%3CBR%20%2F%3EThank%20you.%3C%2FLINGO-BODY%3E