Skip to main content
prb
Explorer
Oct 8, 2026 2:15 PM UTC
Question

Automating deployment of externally renewed certificates to FortiClient EMS

Hello Team,

Our FortiClient EMS uses a manually uploaded Let’s Encrypt server certificate containing two DNS SANs.

Certificate renewal is already automated through our Salt master. After each renewal, we currently download the certificate and manually upload and apply it in EMS.

We want to automate only the certificate deployment and activation steps while keeping certificate renewal managed by Salt. Or happy explore option auto renwal in EMS with two DNS SANs.

Please provide the supported API or CLI procedure for importing the renewed certificate, matching private key, and intermediate chain, and assigning it to the applicable Web server and Endpoint control services.

Please also confirm the required authentication and permissions, any service restart requirements, and whether this operation can run unattended on our EMS version.

 

Thanks,

7 replies

Jean-Philippe_P
Staff & Editor
Staff & Editor
Oct 12, 2026 7:31 AM UTC

Hello prb, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Regards,

Jean-Philippe - Fortinet Community Team
Jean-Philippe_P
Staff & Editor
Staff & Editor
Oct 13, 2026 7:05 AM UTC

Hello,

 

We are still looking for an answer to your question.

 

We will come back to you ASAP.

 

Regards,

Jean-Philippe - Fortinet Community Team
ebilcari
Staff
Staff
Oct 13, 2026 2:08 PM UTC

It appears that EMS does not currently support certificate management through its API, like FortiMail or FortiGate:

 

Emirjon
prb
prbAuthor
Explorer
Oct 16, 2026 2:05 PM UTC

Hello ​@ebilcari ,


thank you for the direct me the links, and confirm that EMS does not support. 

FOr the Fortigate also as I mentationed certificate Certificate renewal is already automated through our Salt master. I want to automate renewal on Firewall from salt-master. How can I do it. Any idea? 

Thank you in advance

 

stsimb
New Member
Oct 16, 2026 9:07 PM UTC

Here is an idea that worked for us:

Install mitmproxy and browse to our ems server.

Perform the certificate change manually.

Have Claude (or any other agent) read the mitmproxy session transcript and create a ~200 line script to automate it.

 

prb
prbAuthor
Explorer
Oct 21, 2026 10:03 AM UTC

Thnak you ​@stsimb , I will try to setup like this. Hope this can help me. 
 

Jean-Philippe_P
Staff & Editor
Staff & Editor
Oct 21, 2026 10:06 AM UTC

Please let us know if it works this way :)

Jean-Philippe - Fortinet Community Team
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024