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.

Rijwan AnsariRank #82 · 24.2K reputationPosted Dec 4, 2021, 1:16 PM EST
Satya KarkiRank #78 · 24.6K reputationPosted Dec 4, 2021, 1:17 PM EST
Santosh Pisipati100 reputationPosted Dec 6, 2021, 1:05 AM EST