Santosh Pisipati

Santosh Pisipati

  • 2k
  • 86
  • 15.7k

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)