|
|
|
|
|
CertificatePEMToPFX (Function) In french: CertificatPEMVersPFX Converts a certificate in PEM format to a PFX file including the private key. CertificateFilePath is string = "C:\MyPath\MyCertificate.pem"
PrivateKeyFilePath is string = "C:\MyPath\MyPrivateKey.key"
PrivateKeyPassword is string = "Private_key_password"
PFXFilePath is string = "C:\MyPath\MyCertificate.pfx"
CertificatePEMToPFX(CertificateFilePath, PrivateKeyFilePath, PrivateKeyPassword, PFXFilePath)
Syntax
<Result> = CertificatePEMToPFX(<Certificate file> , <Private key file> , <Password of the private key> , <PFX file>)
<Result>: Boolean - True if the conversion has been completed,
- False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Certificate file>: Character string Path to the public certificate to be converted ("pem" file). <Private key file>: Character string Private key file path. <Password of the private key>: ANSI string or Secret string Password for the file that contains the private key.
New in version 2025Secret strings: The secret string can be of one of the following types: Ansi string - Latin, Ansi or Unicode string, Unicode string.. To learn more about secret strings and how to use the vault, see Secret string vault. <PFX file>: Character string Path of PFX file to be created. The extension must be specified in the file name. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|