Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Resource to generate a PKCS #12 archive file #60

Closed
ebekker opened this issue Jul 10, 2018 · 2 comments
Closed

Resource to generate a PKCS #12 archive file #60

ebekker opened this issue Jul 10, 2018 · 2 comments

Comments

@ebekker
Copy link

ebekker commented Jul 10, 2018

Currently the ACME provider's resources are accessible as PEM outputs. It would be useful to be able to produce a PKCS #12 (PKCS12 or alternatively PFX) archive format file out of these components, as there are cases where a PFX archive is preferred or even required.

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 out-of-the-box TLS provider.

Note, I have a similar request out in terraform-provider-tls/#29 because I do feel it is more natural and general-purpose for that provider to implement this resource, however, I'm not sure how likely the are to produce it in a timely manner.

@berney
Copy link

berney commented Jul 11, 2018

This would be useful. A bunch of Azure services require certificates in PFX (PKCS12) form rather than PEM. Currently I just use openssl pkcs12 to do the conversion.

@vancluever
Copy link
Owner

Closing out in favor of new issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants