This will open the log file in a text editor: The XAMPP error log arranged in chronological order. In the pop-up menu, select Apache (error.log). To access the log, open the XAMPP Control Panel and click on Logs: The Logs button to open the Apache error logs. However, if you want to verify that the issue is in fact resolved, you can navigate back into the error log once Apache has restarted. You can go back to enjoying your XAMPP installation and getting work done. That’s it! At this point, the error should be resolved. Then go ahead and click on Start to restart the module: The XAMPP Start button to reactivate Apache. Give the program a moment to finish the operation. To do so, head back to the XAMPP Control Panel and click on the Stop button next to Apache: The XAMPP Stop button to deactivate Apache. With the nf file edited and saved, the final step is to restart Apache. Once you’re done, you can save the file and close the text editor. Next, you can add the text “ServerName localhost” on the line directly below it: The edited nf file. This is known as “ commenting out“, and it tells the software to ignore that line when reading the file. When you find this line, add a “#” at the front of it. With the file open, look for the line that reads “ServerName It should be located under the “General setup for the virtual host” section (line 125 by default): Line 125 of the nf file. On Windows, we recommend using Notepad++: The Notepad++ text editor for Windows. If you’re on a Mac, the default TextEdit works just fine. Once you’ve located it, go ahead and open it in a text editor. This file deals with the SSL configuration for your XAMPP Apache installation. Inside the xampp/apache/conf/extra folder, the file you’re looking for is called nf: The nf file. Once there, you can proceed to the next step: opening and editing a key Apache file. The full directory path is xampp/apache/conf/extra. This will open a file browser window in the XAMPP folder: The Apache folder in the XAMPP directory.įrom here, you can navigate to apache > conf > extra. The most straightforward way to do this is to launch the XAMPP Control Panel from your system tray, and then click on Explorer on the right side of the window: The Explorer button in the XAMPP Control Panel. The first step is to open up the correct Apache directory in a file browser. Step 1: Open the xampp/apache/conf/extra Directory The process involves editing a configuration file. Now that you understand more about this error message, it’s time to get to work on fixing it. How to Fix the “Server Certificate Does NOT Include an ID Which Matches the Server Name” Issue (In 3 Steps) Get started with DevKinsta today, even if you’re not a Kinsta customer. Looking for a free and powerful local WordPress development tool? DevKinsta features quick and easy site creation, email and database management tools, one-click PHP version switching, and full integration with MyKinsta. It’s as simple as editing a single line in the Apache files. Fortunately, resolving it is surprisingly easy-much more so than some other XAMPP errors. The “Server certificate does NOT include an ID which matches the server name” message indicates an error with the Secure Sockets Layer (SSL) configuration for your Apache installation (Apache is part of XAMPP). Correcting this issue can help your local XAMPP environment run as smoothly as possible and prevent future problems. With that being said, warnings still aren’t ideal because they indicate that something is wrong with your installation. Your site can still operate normally.Įnjoy 4 months of free hosting with an annual WordPress plan. In fact, it’s more of a warning than an actual error. It’s important to note that this notification is most likely not related to whatever initial issue that brought you to the error logs. You check the XAMPP logs for clues about this problem and find the “Server Certificate Does NOT Include an ID Which Matches the Server Name” message, often multiple times. The initial problem could involve crashing XAMPP components (usually Apache) or MySQL errors. Typically, what happens is that another issue brings you to the error log, and then you’ll notice the server certificate warning accidentally. Instead, you can find it in the XAMPP error logs: The “Server certificate does NOT include an ID which matches the server name” message. The elusive “Server certificate does NOT include an ID which matches the server name” error message doesn’t appear on the front end of a site. An Introduction to the “Server Certificate Does NOT Include an ID Which Matches the Server Name” Warning in XAMPP
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |