Make exportable private key with makecert

I need to create certification for my service by getting a trusted root certificate. I tried to create a private key certificate: makecert -pe -sk Esb -iv root.pvk -n "CN=localhost" -ic root.cer -sky exchange -ss my serviceCert.cer

This installs the certificate to my store, but when I try to export it, it says: "The associated private key is marked as not exportable makecert." What am I doing wrong?

+1
source share
1 answer

I was going to suggest using the "-pe" option, but you already have one. Perhaps try the "-sv" option to display the private key as a PVK file, and then use pvk2pfx to create the pfx file.

0
source

All Articles