Skip to content
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

[pfsense_ca] Add ability to create a certificate authority, not just import one #135

Open
samuel-emrys opened this issue Jun 9, 2024 · 0 comments

Comments

@samuel-emrys
Copy link

Is your feature request related to a problem? Please describe.
It would be good to be able to create a certificate authority rather than just import one, as is supported by the pfSense web gui. This would allow a fresh installation to easily be managed without manual intervention to configure certificates.

Describe the solution you'd like
The following syntax would create a certificate authority:

- name: Create CA
  pfsensible.core.pfsense_ca:
    name: root-ca
    method: internal
    trust_store: true
    randomize_serial: true
    key_type: rsa
    key_length: 2048
    digest: sha256
    lifetime: 3650
    common_name: internal-ca
    country: us
    state: texas
    city: austin
    org: my org
    org_unit: my department

Describe alternatives you've considered
N/A

Additional context
N/A

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

No branches or pull requests

1 participant