Exporting p12 for CSR causes a crash report
what i have done:
System / Certificate Manager / Certificates
select "Sign a certificate Signing request"
leave key data empty
save and try to export P12
result in an empty P12 file and a crash report
PHP Warning: openssl_pkcs12_export(): cannot get private key from parameter 3 in /usr/local/www/system_certmanager.php on line 209
Updated by Jim Pingle over 1 year ago
- Project changed from pfSense Packages to pfSense
- Subject changed from exporting p12 causes a crash report to Exporting p12 for CSR causes a crash report
- Category set to Certificates
- Target version set to 2.5.0
Looks like P12 export should be disabled either just for CSRs or perhaps for any entry which lacks a key (Which we allow now in certain cases like for PKCS#11). I can't remember if it's valid to reference a PKCS#11 style entry in PKCS#12 archives. Need to look that up.