:source: fadcos_system_certificate_local.py :orphan: .. fadcos_system_certificate_local: fadcos_system_certificate_local -- Generate Certificate Signing Request in Fortinet's FortiADC ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.1.0 .. contents:: :local: :depth: 1 Synopsis -------- - Generate certificate signing request of Local Certificate in Manage Certificates Page Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.8 FortiADC Version Compatibility ------------------------------ .. raw:: html
v7.1.4 v7.2.2 v7.4.0
fadcos_system_certificate_local yes yes yes

Parameters ---------- .. raw:: html

Examples -------- .. code-block:: yaml+jinja - name: hosts: all vars: connection: httpapi gather_facts: false tasks: - name: create fadcos_system_certificate_local: action: add name: test id_type: ip ip: '192.0.2.1' orgUnit: - test1 - test2 org: 'MyCorp Inc.' city: Sunnyvale state: CA country: AF orgEmail: 'admin@exammple.com' san: 'IP:192.168.1.102' enc_meth: aes128 k_pwd: test keyType: '1' keySize: '2048' hash: SHA256 enrollMethod: file - name: create fadcos_system_certificate_local: action: add name: test2 id_type: domain domain: www.example.com orgUnit: - test3 org: MyCorp2 Inc. city: Sunnyvale country: AF state: CA orgEmail: admin@exammple.com san: 'DNS:www.a.b' enc_meth: aes192 k_pwd: test keyType: '2' keySizeECDSA: '512' enrollMethod: file - name: get fadcos_system_certificate_local: action: get - name: delete fadcos_system_certificate_local: action: remove name: test - name: delete fadcos_system_certificate_local: action: remove name: test2 Return Values ------------- Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module: .. raw:: html For errorcode please check FortiADC API errorcode at : https://fndn.fortinet.net/index.php?/fortiapi/981-fortiadc/ Status ------ - This module is not guaranteed to have a backwards compatible interface. Authors ------- - Wayne Chou .. hint:: If you notice any issues in this documentation, you can create a pull request to improve it at: https://github.com/fortinet-ansible-dev/ansible-galaxy-fortiadc-sphinxdoc/pulls