[FEATURE REQUEST] tls.create_pkcs12 should support setting a friendlyname for the PKCS #12 structure. #67699
roskens
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I need to create a pkcs12 as an intermediate step in creating a java keystore. When I import the pkcs12 into the java keystore, I want to use an alias for the certificate chain in the pkcs12.
Describe the solution you'd like
The function
create_pkcs12in salt/modules/tls.py should be updated to call set_friendlyname() if a friendlyname argument is passed to it.Describe alternatives you've considered
We are currently creating the pkcs12 files using a
cmd.runcall.Additional context
Here is a state file which does all the steps to create the pkcs12 file and them import it into a java keystore.
And a git diff showing a solution:
Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.
Beta Was this translation helpful? Give feedback.
All reactions