Help with Certificate Chain Not Complete

  1. Replace your existing files with these:

httpd-vhosts.txt (6.4 KB)

httpd-ssl.txt (8.4 KB)

  1. Reload Apache:
G:\xampp\apache\bin\httpd.exe -k graceful
  1. Then show the output of:
G:\xampp\apache\bin\httpd.exe -S
1 Like

Hi griffin. I AM REALLY EXCITED WITH YOUR FILES!
I replaced them with my own and everything is great.
I can even see my PMWay web site from work!

I still need to understand what you did / what I was doing wrong. But everything seems golden!

I did run your command "G:\xampp\apache\bin\httpd.exe -k graceful" after I stopped and restarted xampp apache.
I got this result: C:\WINDOWS\system32>G:\xampp\apache\bin\httpd.exe -k graceful
[Fri Aug 06 07:30:09.582788 2021] [mpm_winnt:error] [pid 1376:tid 376] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4".

I then ran" "G:\xampp\apache\bin\httpd.exe -S" and got this result:
C:\WINDOWS\system32>G:\xampp\apache\bin\httpd.exe -S
VirtualHost configuration:
*:80 is a NameVirtualHost
default server pmway.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:39)
port 80 namevhost pmway.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:39)
port 80 namevhost upguitarhill.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:88)
port 80 namevhost anc.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:137)
port 80 namevhost injustice.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:186)
*:443 is a NameVirtualHost
default server pmway.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:50)
port 443 namevhost pmway.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:50)
port 443 namevhost upguitarhill.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:99)
port 443 namevhost anc.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:148)
port 443 namevhost injustice.hopto.org (G:/xampp/apache/conf/extra/httpd-vhosts.conf:197)
ServerRoot: "G:/xampp/apache"
Main DocumentRoot: "G:/xampp/htdocs"
Main ErrorLog: "G:/xampp/apache/logs/error.log"
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="G:/xampp/apache/logs/" mechanism=default
Mutex ssl-stapling-refresh: using_defaults
Mutex rewrite-map: using_defaults
PidFile: "G:/xampp/apache/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: SRVROOT=G:/xampp/apache
C:\WINDOWS\system32>

Not sure what the above means.

But thank you very much!

2 Likes

Let's try that restart another way.
Please show the output of:
net start
[we're interested in the one(s) with apache in them]

1 Like

Hi @rg305. Let me check your advise.
You want me to stop apache in XAMPP then open a command prompt with admin rights and enter "net start"?

If I understood you correctly then this is the result:

C:\WINDOWS\system32>net start
These Windows services are started:

Summary

Adobe Acrobat Update Service
Adobe Genuine Monitor Service
Adobe Genuine Software Integrity Service
Application Information
AppX Deployment Service (AppXSVC)
AVCTP service
Background Tasks Infrastructure Service
Base Filtering Engine
Clipboard User Service_1980584
CNG Key Isolation
COM+ Event System
Connected Devices Platform Service
Connected Devices Platform User Service_1980584
Connected User Experiences and Telemetry
CoreMessaging
Credential Manager
Cryptographic Services
Data Usage
DCOM Server Process Launcher
Delivery Optimization
Device Association Service
DHCP Client
Diagnostic Policy Service
Diagnostic Service Host
Diagnostic System Host
Display Enhancement Service
Display Policy Service
Distributed Link Tracking Client
DNS Client
Human Interface Device Service
Intel(R) Dynamic Application Loader Host Interface Service
Intel(R) PROSet Monitoring Service
IP Helper
IPsec Policy Agent
Local Session Manager
Microsoft Office Click-to-Run Service
Microsoft Passport
Microsoft Passport Container
Microsoft Store Install Service
Network Connection Broker
Network List Service
Network Location Awareness
Network Store Interface Service
NO-IP DUC v4.1.1
NVIDIA Display Container LS
NVIDIA LocalSystem Container
Payments and NFC/SE Manager
Plug and Play
Power
Print Spooler
Program Compatibility Assistant Service
Radio Management Service
Remote Access Connection Manager
Remote Procedure Call (RPC)
RPC Endpoint Mapper
Secure Socket Tunneling Protocol Service
Security Accounts Manager
Security Center
Server
Shell Hardware Detection
SSDP Discovery
State Repository Service
Steam Client Service
Storage Service
Sync Host_1980584
SysMain
System Event Notification Service
System Events Broker
System Guard Runtime Monitor Broker
Task Scheduler
TCP/IP NetBIOS Helper
Telephony
Themes
Time Broker
Touch Keyboard and Handwriting Panel Service
Update Orchestrator Service
User Manager
User Profile Service
Web Account Manager
Windows Audio
Windows Audio Endpoint Builder
Windows Connection Manager
Windows Defender Firewall
Windows Event Log
Windows Font Cache Service
Windows Image Acquisition (WIA)
Windows License Manager Service
Windows Management Instrumentation
Windows Push Notifications System Service
Windows Push Notifications User Service_1980584
Windows Search
Windows Security Service
WinHTTP Web Proxy Auto-Discovery Service
Wireless Keyboard 850 Notification Service
Workstation

The command completed successfully.
C:\WINDOWS\system32>

LEAVING XAMPP AND APACHE UP AND RUNNING THE COMMAND I GET:

C:\WINDOWS\system32>net start
These Windows services are started:

Summary

Adobe Acrobat Update Service
Adobe Genuine Monitor Service
Adobe Genuine Software Integrity Service
Application Information
AppX Deployment Service (AppXSVC)
AVCTP service
Background Tasks Infrastructure Service
Base Filtering Engine
Clipboard User Service_1980584
CNG Key Isolation
COM+ Event System
Connected Devices Platform Service
Connected Devices Platform User Service_1980584
Connected User Experiences and Telemetry
CoreMessaging
Credential Manager
Cryptographic Services
Data Usage
DCOM Server Process Launcher
Delivery Optimization
Device Association Service
DHCP Client
Diagnostic Policy Service
Diagnostic Service Host
Diagnostic System Host
Display Enhancement Service
Display Policy Service
Distributed Link Tracking Client
DNS Client
Human Interface Device Service
Intel(R) Dynamic Application Loader Host Interface Service
Intel(R) PROSet Monitoring Service
IP Helper
IPsec Policy Agent
Local Session Manager
Microsoft Office Click-to-Run Service
Microsoft Passport
Microsoft Passport Container
Microsoft Store Install Service
Network Connection Broker
Network List Service
Network Location Awareness
Network Store Interface Service
NO-IP DUC v4.1.1
NVIDIA Display Container LS
NVIDIA LocalSystem Container
Payments and NFC/SE Manager
Plug and Play
Power
Print Spooler
Program Compatibility Assistant Service
Radio Management Service
Remote Access Connection Manager
Remote Procedure Call (RPC)
RPC Endpoint Mapper
Secure Socket Tunneling Protocol Service
Security Accounts Manager
Security Center
Server
Shell Hardware Detection
SSDP Discovery
State Repository Service
Steam Client Service
Storage Service
Sync Host_1980584
SysMain
System Event Notification Service
System Events Broker
System Guard Runtime Monitor Broker
Task Scheduler
TCP/IP NetBIOS Helper
Telephony
Themes
Time Broker
Touch Keyboard and Handwriting Panel Service
Update Orchestrator Service
User Manager
User Profile Service
Web Account Manager
Windows Audio
Windows Audio Endpoint Builder
Windows Connection Manager
Windows Defender Firewall
Windows Event Log
Windows Font Cache Service
Windows Image Acquisition (WIA)
Windows License Manager Service
Windows Management Instrumentation
Windows Push Notifications System Service
Windows Push Notifications User Service_1980584
Windows Search
Windows Security Service
WinHTTP Web Proxy Auto-Discovery Service
Wireless Keyboard 850 Notification

1 Like

I want you to find a simpler way to stop and start Apache.
I see that you ran the command with Apache stopped and while running...
But I don't see anything like Apache in the list.
Please ensure Apache is running and then rerun the command.

Or look for these files:
dir c:\apache_start.cmd /s
dir c:\apache_stop.cmd /s
dir g:\apache_start.cmd /s
dir g:\apache_stop.cmd /s

1 Like

Glad everything worked out. :smiley:

I fixed several inconsistencies in your configuration files, so you might notice some things working a bit differently from before. Mostly I just ran a comb through the configuration. Disabling the unnecessary default 443 vHosts was probably the biggest change.

That command is just supposed to gracefully reload apache to load the new configuration files. It sounds like you already have a reliable way of doing so. A graceful reload is preferable to a hard restart because it keeps your webserver running throughout the process. Not a huge deal though if xampp doesn't support the signal that way. It likely has its own way to do so if you want to track it down.

1 Like

I did look at using the commands but I am not able to find anything.
I know that I tried to get Apache as a service running in Windows 10 but was not successful.
I simply use XAMPP to start and stop the server.
If there is another more graceful way I would really appreciate pointers on how to do this.
But the work done by you up to now is frikken awesom!
I was at sea but now have found a safe harbour! :smile:

1 Like

You should be in good shape now. You might want to read up on those Directory directives you have in your vHosts to be sure they have the options you want (and to remove options you don't want). That shouldn't be a big concern though. You'll notice that I used Redirect directives instead of Rewrites because Redirects are far more efficient.

1 Like

Thank you a gazillion times. Awesome help and support. Have a great day!

2 Likes

You are very welcome, my friend. :slightly_smiling_face:

1 Like

So long as it can be automated.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.