Hi! I am trying to automate the creation of a SSL-SSH-PROFILE with the REST API (FortiOS) but I can´t achieve it with the certificate that i won.
I can create the profile but always create with the CA by default, I don't know what i doing wrong.
The doc have to many params that i don´t know which is required and which is not and if i send the right info.
this is the endpoint i am using:
/api/v2/cmdb/firewall/ssl-ssh-profile/?vdom=VDOM_IPS
And this is the data i send:
{'name': 'certificado', 'comment': 'Generado Automaticamente', 'whitelist': 'enable', 'block-blacklisted-certificates': 'disable', 'server-cert-mode': 'replace', 'use-ssl-server': 'disable', 'server-cert': 'certificado.delos.com.ar', 'ssl-anomalies-log': 'disable', 'ssl-exemptions-log': 'disable', 'ssl-negotiation-log': 'disable', 'rpc-over-https': 'enable', 'mapi-over-https': 'enable'}
The profile is create but not with the certificate that i won. I appreciate any help that you can give me.
PD: English is not my first languaje, so i apologize for any mistake i have committed.
Regards.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1714 | |
1093 | |
752 | |
447 | |
232 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.