| Both sides previous revisionPrevious revision | |
| module:certtool [2024/03/28 12:29] – [See Also] Add link to LetSyncrypt page digital man | module:certtool [2026/03/11 11:33] (current) – [Options] Add note on creating a .p12 file from a cert.pem and key.pem. deuce |
|---|
| |
| ''%%--%%export-pkcs12 <file>'' Exports the current private key and certificate as a PKCS#12 file, encrypted using the system password. File name must end in .p12. | ''%%--%%export-pkcs12 <file>'' Exports the current private key and certificate as a PKCS#12 file, encrypted using the system password. File name must end in .p12. |
| | |
| | To generate a .p12 from a cert.pem and key.pem file, use openssl: |
| | <file> |
| | $ openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem |
| | |
| | Enter Export Password: SYSPASS |
| | Verifying - Enter Export Password: SYSPASS |
| | </file> |
| |
| ''%%--%%import-pkcs12 <file>'' Imports the current private key and certificate as a PKCS#12 file **OVERWRITING THE CURRENT ONE**, encrypted using the system password. File name must end in .p12. | ''%%--%%import-pkcs12 <file>'' Imports the current private key and certificate as a PKCS#12 file **OVERWRITING THE CURRENT ONE**, encrypted using the system password. File name must end in .p12. |