Back to product page

Export method


Exports PKCS#12 file that holds certificate and public key.

Type

None

Syntax

  • Basic
object.Export Filename, [Password]
The Export(object,Filename,Password) syntax has these parts:
objectAn expression evaluating to an object of type Certificate.
FilenameRequired. A String value. Filename where certificate should be stored.
PasswordOptional. A Variant value. Password for saved file.

Remarks

Export method will create PKCS#12 file that will hold both certificate information and your private key, optionally protected with password. This is the easiest way to transform certificate and key generated using OpenSSL and import it to Microsoft certificate store.

When file is saved, you should set it with PFX extension. After saving, double-click to it to import it to Microsoft Certificate Store.

Platforms

Windows