Create PKCS12 file from private key and new certificate
If you want to assemble a new PKCS12 file (extension .p12 or .pfx) from an existing key and a new certificate, you can use the open source tool XCA.
✓ You can find an overview of all products here
Process:
- Download XCA
- Run the setup and install the tool.
- From the File menu, choose New Database and enter any filename.
- Select the “Private Keys” tab and click on “Import”. Specify the private key file.
- Select the “Certificates” tab and click on “Import”. Specify file with the new certificate.
- Select the imported certificate and click “Export”.
- Select “PKCS#12 with certificate chain” as the export format and specify a target path.
- Enter an export password
- The database file created in point 3 is deleted again.
Create certificate without private key in PKCS12 format
Generation using openssl:
(The prompted password must remain blank, as the private key is not used)
openssl pkcs12 -nokeys -in [certificate-file-old].pem -export -out [certificate-file-new].p12
Content control:
openssl pkcs12 -info -in [certificate-file-new].p12
You might be interested in that
What are the costs of not going paperless?
While digitization reached almost every aspect of daily work, the necessity for handwritten signatures in B2B environments preserves printing paper its crucial role – and incurs costs. However, by implementing e-signatures, businesses can reduce expenses, streamline processes, and contribute to a more sustainable...
QES & Competition Law – European Commission to require electronic signatures from 1st September, 2023
To further simplify merger control procedures and in line with its overall digital strategy, the European Commission has published a number of revised legal texts, including one that will make electronic transmission of electronically signed documents the default method from 1 September 2023. Read on to find out...
Sign and encrypt emails using an Apple iPhone
User guide for signing and encrypting emails with the GLOBALTRUST CLIENT certificate on your Apple iPhoneAs of May 10, 2023 1 Basic 1.1 Goals of this document A step-by-step guide on how to add the certificate to your iPhone to then sign and/or encrypt emails. This guide was created for an Apple iPhone (iOS version:...