Skip to main content
echacon
New Member
September 18, 2024
Question

apache service-specific error code 1 ems

  • September 18, 2024
  • 9 replies
  • 4046 views

Hello Guys, I upgraded EMS version 7.2.4 to 7.2.5, the installation finished correctly, when I go to run the console it does not work and gives the following error:
Failed to load URL https://localhost/with error ERR_CONNECTION_REFUSED (-102)

apache service does not start

9 replies

AEK
SuperUser
SuperUser
September 18, 2024
Bearpark
New Member
September 19, 2024

I have the same issue. I am unable to start Apache Service even after running command 'net stop http'

AEK
SuperUser
SuperUser
September 19, 2024

Then you may need to check in the Apache log files. Or you can still open a ticket.

AEK
echacon
echaconAuthor
New Member
September 19, 2024

Certificate and private key localhost:443:0 from C:/Program Files (x86)/Fortinet/FortiClientEMS/Apache24/conf/ssl.crt/FCTEMS1005092.1.cert and C:/Program Files (x86)/Fortinet/FortiClientEMS/Apache24/conf/ssl.key/FCTEMS1005092.1.cert.key do not match
AH00016: Configuration Failed

AEK
SuperUser
SuperUser
September 19, 2024

Good catch! I think this is sufficient cause to prevent Apache from starting.

However I can't find in the documentation how to change the certificate from other than the EMS GUI (which now is not working for you).

Hope some experienced member can help with this.

AEK
echacon
echaconAuthor
New Member
September 23, 2024

The solution was given to me by fortinet, because it is a bug in version 7.2.5, they made me run a script to regenerate the certificate.

contact-it
New Member
October 16, 2024

We can also have the script in the question too.

Tom92
New Member
October 22, 2024

hello do you have the script to modify this certificate ?

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!