Santosh Pisipati

Santosh Pisipati

  • NA
  • 124
  • 17.8k

Create Pfx key with private and pem key for mqttclient

Dec 3 2021 10:35 AM

Hi can we generate a pfx certificate with aws generated cert.pem and private.key file.

we can do this using openssl,but wanted to do the same programatically in c# to connect to mqttclient.

"openssl pkcs12 -export -in certificate.cert.pem -inkey certificate.private.key -out certificate.cert.pfx -certfile AmazonRootCA1.crt"

Any help is much appriciated.


Answers (3)