ssato.ansible_role_openssl_cert

ssato.openssl-cert

An Ansible role to create TLS certificate files using the OpenSSL command.

Build Status

Requirements

  • OpenSSL

Role Variables

Customize these variables based on your needs.

  • openssl_cert_workdir: Directory for generating certificate files
  • openssl_cert_common_name: Common name for the certificate
  • openssl_cert_country: Country
  • openssl_cert_state: State
  • openssl_cert_organization: Organization name
  • openssl_cert_unit: Organization Unit (division)
  • openssl_cert_days: Validity period in days
  • openssl_cert_key_bits: Size of the private key

You can also customize these variables if needed:

  • openssl_cert_debug: Debug option
  • openssl_cert_generate_self_signed_cert: Option to create a CA certificate and a self-signed server certificate

For most users, the following variable does not need customization:

  • openssl_cert_packages: Required packages for installation

Check defaults/main.yml for default variable values.

Example Playbook

See tests/test.yml.

License

MIT License

Author

Satoru SATOH ssato@Github <https://github.com/ssato>_

Informazioni sul progetto

Generate SSL cert files with using openssl command

Installa
ansible-galaxy install ssato.ansible_role_openssl_cert
Licenza
mit
Download
104
Proprietario