Skip to content

Add support for PKCS 12 encrypted files

Patrick Griffis requested to merge pgriffis/gtlscertificate-password into master

This adds two properties to GTlsCertificate:

  • pkcs12-data which is PKCS #12 data in DER format
  • password which is a single password that applies to the PKCS #12 data (the container, and the privkey if encrypted)

Once you construct a certificate with pkcs12-bytes the normal properties work as expected (certificate, certificate-pem, private-key, private-key-pem)

TODO:

  • Convert full chains of certificates into issuers
  • Add OpenSSL support
Edited by Patrick Griffis

Merge request reports