Adding a PFX-based certificate consists of the following steps.
A certificate with a private key is generated in PKCS#12-container format and is saved in the certificate storage of the current user.
After a certificate is generated, you must export it together with the private key to a file with the P12 or PFX extension.