'Export EV Certificate from SafeNet to pfx
I am having a sectigo ev certificate that got to me via a usb stick. I can open the certificate with SafeNet and can import the certificate to my local store but only without private key. As I want to sign an electron app with it, I need a .pfx file with password. The old certificate was not an ev certificate and I could export it to a pfx and use it in my build. I could not find a way in the documentation to export the private key together with the public key, so I am stuck here now. From my google searches I also found out, that I am not supposed to export the private key and sign the software with the hardware token. But as I want to run this in a CI/CD in Azure and can not plug my USB Stick into the cloud, I am not really seeing a solution here.
Is there something I am missing? Maybe an option in SafeNet? Am I really not supposed to extract the private key?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|