Adding a PFX certificate involves the following steps.
The certificate with a private key is generated in the PKCS#12 container format and is saved in the certificate store of the current user.
After generating the certificate, you must export it together with the private key to a .p12 or .pfx file.