-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource to generate a PKCS #12 archive file out of PKI components #29
Comments
I guess a password option in some way is also needed... |
is there any update on this issue? |
Hi guys any update on this? |
I have created a provider that helps to create PKCS12 from PEM files: https://registry.terraform.io/providers/chilicat/pkcs12/latest/docs/resources/from_pem |
It will be nice to also have a datasource to read a PFX and allow to get his private key and cert |
Superseded by #205. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
It would be useful to support generating a PKCS #12 (PKCS12 or also known as PFX) archive file out of PKI components, including an optional private key, and a chain of one or more certificates. The current set of TLS resources support generating/exporting to PEM format files, but there are many cases where a PFX archive file is preferred or required such as Windows host environments, Azure provider or Oracle OCI provider.
I recommend supporting this resource in a more general-purpose manner, such that you can give it an optional private key PEM, and one or more certificates (i.e. an array of certificate PEM clobs). By doing so, the resource would be usable in tandem with other resources of this provider, as well as alternate providers, such as the third-party ACME cert provider.
An example usage might look like this:
Terraform Version
Terraform v0.11.3
Affected Resource(s)
provider.tls v1.1.0
The text was updated successfully, but these errors were encountered: