[GH-ISSUE #20] PKCS#12 support #12

Closed
opened 2026-02-25 22:32:22 +03:00 by kerem · 2 comments
Owner

Originally created by @linux-china on GitHub (Jun 30, 2018).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/20

it's great tool :) it's friendly for Golang developer. Did you have any plan to generate PKCS12 for Java developer, and they will execute command to convert pem to PKCS12. command as following:

openssl pkcs12 -export -in example.com.pem -inkey example.com-key.pem -out example.com.p12 -name mkcert -CAfile rootCA-key.pem -caname root
Originally created by @linux-china on GitHub (Jun 30, 2018). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/20 it's great tool :) it's friendly for Golang developer. Did you have any plan to generate PKCS12 for Java developer, and they will execute command to convert pem to PKCS12. command as following: ``` openssl pkcs12 -export -in example.com.pem -inkey example.com-key.pem -out example.com.p12 -name mkcert -CAfile rootCA-key.pem -caname root ```
kerem 2026-02-25 22:32:22 +03:00
Author
Owner

@FiloSottile commented on GitHub (Jul 4, 2018):

PKCS#12 is a dying format and its use should be discouraged. Moreover, the only Go encoder I could find only supports password-protected bundles.

So I'm not inclined to implement this myself, but if enough people need it I'm willing to merge a PR.

<!-- gh-comment-id:402325923 --> @FiloSottile commented on GitHub (Jul 4, 2018): PKCS#12 is a dying format and its use should be discouraged. Moreover, the only Go encoder I could find only supports password-protected bundles. So I'm not inclined to implement this myself, but if enough people need it I'm willing to merge a PR.
Author
Owner

@linux-china commented on GitHub (Jul 4, 2018):

@FiloSottile I submitted a pull request with PKCS#12 generation. Please review it.

<!-- gh-comment-id:402557140 --> @linux-china commented on GitHub (Jul 4, 2018): @FiloSottile I submitted a pull request with PKCS#12 generation. Please review it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#12
No description provided.