Apache SSL Not Working on Remote

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache SSL Not Working on Remote

Postby lavanyadeepak » 04. November 2019 15:32

I have installed a Wordpress using XAMPP on our DEV server. I have also configured the SSL Certificates purchased from Godaddy for the same. When I check out in https://localhost the page is served although with a Invalid Certificate warning because there is a name mismatch

However when I try to view the URL using its domainname like https://www.myclientdomainname.com/, the browser tries for a long time and then say Timed out. The server is in AWS and I have ensured all ports are open. The same certificate works fine when using IIS. And in XAMPP control panel when I click the START button it does display 80,443 in green. Nothing reported in any of the logs be it apache or eventvwr.

I have been trying all possible research on this since Thursday. Can some one guide me where am I getting drifted and misdirected?

Deepak
lavanyadeepak
 
Posts: 5
Joined: 04. November 2019 15:26
XAMPP version: 7.1.33
Operating System: Windows 10

Re: Apache SSL Not Working on Remote

Postby Nobbie » 04. November 2019 19:37

How did you install WordPress? Did you install it locally? What did you apply as "Servername" at installation time?
Nobbie
 
Posts: 11251
Joined: 09. March 2008 13:04

Re: Apache SSL Not Working on Remote

Postby lavanyadeepak » 05. November 2019 02:09

Servername was domain name only.
lavanyadeepak
 
Posts: 5
Joined: 04. November 2019 15:26
XAMPP version: 7.1.33
Operating System: Windows 10

Re: Apache SSL Not Working on Remote

Postby lavanyadeepak » 05. November 2019 02:11

I can make it simpler. Leave alone Wordpress. In that folder I have a simple file like phptest.php with contents

<?php

phpinfo();

?>

Even this one is not getting served on https. Only on http this URL is getting served.
lavanyadeepak
 
Posts: 5
Joined: 04. November 2019 15:26
XAMPP version: 7.1.33
Operating System: Windows 10

Re: Apache SSL Not Working on Remote

Postby Altrea » 05. November 2019 06:31

What exactly did you do to configure the domain for SSL in your Apache configuration?
Without knowing your configuration it is nearly impossible to provide detailed help.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9898
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache SSL Not Working on Remote

Postby lavanyadeepak » 05. November 2019 06:33

Do I need to share the conf files? Which conf files do you require?
lavanyadeepak
 
Posts: 5
Joined: 04. November 2019 15:26
XAMPP version: 7.1.33
Operating System: Windows 10

Re: Apache SSL Not Working on Remote

Postby Altrea » 05. November 2019 06:43

You don't need to share anything, but it could most likely help to find idengtify issue.
We need especially information about the domain configuration.

So did you touch any of the httpd-ssl.conf or httpd-vhost.conf files?
Did you define any virtual hosts at all? Where did you place your SSL configuration?

Can you find the access trials in your Apache access.log?
is there anything in your Apache error.log?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9898
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache SSL Not Working on Remote

Postby lavanyadeepak » 05. November 2019 06:45

in httpd-ssl.conf just the following attributes were updated

ServerName
DocumentRoot
ServerAdmin

SSLCertificateFile
SSLCertificateKeyFile

In httpd.conf

DocumentRoot

Nothing significant in the logs though. No. Not even anything in System Eventlog log too.
lavanyadeepak
 
Posts: 5
Joined: 04. November 2019 15:26
XAMPP version: 7.1.33
Operating System: Windows 10

Re: Apache SSL Not Working on Remote

Postby Nobbie » 05. November 2019 12:27

Is there a .htaccess file in your folder? If yes, rename (or remove) it and try again.

And show us the access_log. If there is no access_log, you have to reconfigure Apache and create an access log.
Nobbie
 
Posts: 11251
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 85 guests