check_point.mgmt.cp_mgmt_add_custom_trusted_ca_certificate module – Create new custom trusted CA certificate.

Note

This module is part of the check_point.mgmt collection (version 6.2.1).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install check_point.mgmt.

To use it in a playbook, specify: check_point.mgmt.cp_mgmt_add_custom_trusted_ca_certificate.

New in check_point.mgmt 6.0.0

Synopsis

  • Create new custom trusted CA certificate.

  • All operations are performed over Web Services API.

Parameters

Parameter

Comments

auto_publish_session

boolean

Publish the current session if changes have been performed after task completes.

Choices:

  • false ← (default)

  • true

base64_certificate

string

Certificate file encoded in base64.<br/>Valid file formats, x509.

details_level

string

The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.

Choices:

  • "uid"

  • "standard"

  • "full"

version

string

Version of checkpoint. If not given one, the latest version taken.

wait_for_task

boolean

Wait for the task to end. Such as publish task.

Choices:

  • false

  • true ← (default)

wait_for_task_timeout

integer

How many minutes to wait until throwing a timeout error.

Default: 30

Examples

- name: add-custom-trusted-ca-certificate
  cp_mgmt_add_custom_trusted_ca_certificate:
    base64_certificate:
     "MIIEkzCCAnugAwIBAgIVAO5SRZQELwNNhWF+8st6ox9uXYgeMA0GCSqGSIb3DQEBCwUAMIGrMQswCQYDVQQGEwJJTDEPMA0GA1UECBMGSXNyYWVsMS4wLAYDVQQKEyVDaGVja1BvaW50IFNvZnR3YXJlIF
    lY2hub2xvZ2llcyBMVEQuMQwwCgYDVQQLEwNNSVMxIjAgBgNVBAMTGUNoZWNrUG9pbnQtU1NMLUluc3BlY3Rpb24xKTAnBgkqhkiG9w0BCQEWGmlsX3NlY3VyaXR5QGNoZWNrcG9pbnQuY29tMB4XDTIzM
    MxMzAwMDAwMFoXDTIzMDYxMTIzNTk1OVowbzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExEzARBgNVBAcTCk1lbmxvIFBhcmsxHTAbBgNVBAoTFE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Zuk4gLhQoeE3s6877/rrHRJB/H8ZUaaBxAi2qH0NZ
    ParXUxOkil5rVgFqI="

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

cp_mgmt_add_custom_trusted_ca_certificate

dictionary

The checkpoint add-custom-trusted-ca-certificate output.

Returned: always.

Authors

  • Eden Brillant (@chkp-edenbr)