Home 
username password  
Welcome, Guest.
Your IP: 100.28.231.85
2024-11-04 23:06:24 
 Public Support
 Assembling PFX files from individual keys and certificates
Bottom
 
Total posts: 1
 Author Assembling PFX files from individual keys and certificates
Henrick Wibell Hellström

2018-02-11 12:07:55
Registered user
I am frequently asked what to do with private keys and certificates on other formats than PKCS#12 PFX. Usually, my answer has been to use other tools, such as the OpenSSL.exe command line utility, for converting PEM files to PFX, and other proprietary tools for converting other proprietary formats.

Starting with the 2018 February 7 release of StreamSec Tools 4.0, a PFXAssembler demo project has been included for using StreamSec code for performing these conversions. This demo uses the tPFX class and the iPFX and iKeyAndCertStoreEx interfaces. The PFXAssembler demo is more low level than the corresponding code used in the TLSDemoCert demo project, which utilizes the methods implemented by the TsmPrivateKeyRingComponent and TsmSimpleTLSInternalServer components.

Do it the TLSDemoCert way when you want the PFX file to contain a single end entity certificate or a single certificate chain.

Do it the PFXAssembler way when you have other requirements, e.g. when the certificate is cross signed and has two or more chains, which all should be included in the PFX.
Top

:: Written with and Powered by the RealThinClient SDK and StreamSec Tools 4.0::
Copyright (c) Danijel Tkalcec, StreamSec HB