Skip to main content
GSmit.3
Associate
May 3, 2021
Question

A certificate signing request (CSR) with SASAFE

  • May 3, 2021
  • 3 replies
  • 2041 views

When using a key pair stored in the STSAFE. how does on create a CSR when you dont have asscess to the private key.

Are there any examples of how one might do this.

This topic has been closed for replies.

3 replies

ST Employee
January 12, 2022

Hi @Community member​,

Did you still need this feature ?

Basically, you can use MbedTLS integration to craft the CSR and reroute ECC signature generation to STSAFE-A feature to generate CSR signature.

If needed, I can share some code example for MbedTLS integration and CSR generation.

Best Regards,

Benjamin

CWein.1
Associate II
November 1, 2022

Benjamin,

I also need to sign a CSR with the STSAFE-A110.

> If needed, I can share some code example for MbedTLS integration and CSR generation.

This would be great.

Thanks,

Chip

ST Employee
February 27, 2023

Hi @CWein.1​ ,

I'm not sure this is still relevant but I have added some code example using MbedTLS here

Best Regards,

Benjamin

Visitor II
December 10, 2023

Hi,

The above link is reporting "Page not found". Would it be possible to fix the link?

Thanks,

Mark

FDghk.1
Visitor II
December 21, 2022

How does a CSR code signing certificate work?

It is a first step towards having your own SSL/TLS certificate that you need to send a certificate signing request (CSR). A CSR is a document that is generated on the same server as the one where a certificate is going to be installed. It contains information (e.g. common name, organization, country) that the Certificate Authority (CA) will use to create the certificate.