Skip to main content
echacon
New Member
Sep 18, 2024 3:01 PM UTC
Question

apache service-specific error code 1 ems

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
Sep 18, 2024 11:02 PM UTC
Bearpark
New Member
Sep 19, 2024 1:11 PM UTC

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

AEK
SuperUser
SuperUser
Sep 19, 2024 1:31 PM UTC

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

AEK
echacon
echaconAuthor
New Member
Sep 19, 2024 3:43 PM UTC

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
Sep 19, 2024 4:16 PM UTC

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
Sep 23, 2024 3:26 PM UTC

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
Oct 16, 2024 10:39 AM UTC

We can also have the script in the question too.

Tom92
New Member
Oct 22, 2024 10:27 AM UTC

hello do you have the script to modify this certificate ?

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT