fortinet-ansible-dev / ansible-galaxy-fortiswitch-collection

GNU General Public License v3.0
2 stars 0 forks source link

Problem with import CA certificate #2

Open stascooper opened 2 years ago

stascooper commented 2 years ago

Hello! I have fortigate e100 firmware 7.0.5. For import I am trying to use fortiswitch_system_certificate_ca module

- name: Import CA Certificate
  fortinet.fortiswitch.fortiswitch_system_certificate_ca:
    state: present
    system_certificate_ca:
      name: CA_Cert_2
      ca: |
        -----BEGIN CERTIFICATE-----
        MIIDozCCAougAwIBAgIJAN4piazpN5caMA0GCSqGSIb3DQEBCwUAMGgxCzAJBgNV

But the API does not eat this certificate, it is a pem certificate image

JieX19 commented 2 years ago

@stascooper I'm debugging this error and will get back to you ASAP.