Hello, I have some questions about the fleet provisioning method with the CreateCertificateFromCsr API.
1-To generate the CSR is it necessary to generate a private key and a public key or can I do it only by generating a private key?
2- Once I obtain a certificate with the call to CreateCertificateFromCsr and activate it by calling RegisterThing, it disconnects from the TLS session and reconnects now with the obtained certificate, which private key must be used here, the one used to generate the CSR, or the one that was chosen along with the claim certificate?
I port the demo discussed here to an ESP32, I choose the certificate and activate it but I have problems when trying to authenticate with the certificates chosen by the provisioning I try to find out why.