SSL with wildcard certificate

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

SSL with wildcard certificate

Postby towerman » 04. October 2021 13:57

Hi guys,
I've already got a wildcard certificate that I want to install on XAMPP on a Windows machine.
I don't get how to do so, forcing all traffic under HTTPS
Could someone help me?
Thanks in advance.
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 04. October 2021 19:43

Simply use

Code: Select all
Listen 443


only.
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04

Re: SSL with wildcard certificate

Postby towerman » 05. October 2021 07:57

Nobbie wrote:Simply use

Code: Select all
Listen 443


only.

It's not what I was looking for.
First, I've to install the wildcard certificate with XAMPP.
That's what I'm not able to do :wink:
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 05. October 2021 10:42

Normally the provider of the certificate comes with a documentation how to install it. As a certificate proofs the identity of your server, you have to proof at installation time that you are installing on the correct server.

There is an example virtualhost in httpd- ssl.conf which shows where you can put the certification files.
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04

Re: SSL with wildcard certificate

Postby towerman » 05. October 2021 18:18

Nobbie wrote:Normally the provider of the certificate comes with a documentation how to install it. As a certificate proofs the identity of your server, you have to proof at installation time that you are installing on the correct server.

There is an example virtualhost in httpd- ssl.conf which shows where you can put the certification files.

I don't have any documentation :cry:
So I just have to stop Apache, change the virtualhost in httpd-ssl.conf and start Apache again, am I right?
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 05. October 2021 19:26

towerman wrote:So I just have to stop Apache, change the virtualhost in httpd-ssl.conf and start Apache again, am I right?


No. Not at all. You need a SSL certificate.
So first of all - do you have a certificate?
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04

Re: SSL with wildcard certificate

Postby gsmith » 05. October 2021 20:59

towerman wrote:Hi guys,
I've already got a wildcard certificate that I want to install on XAMPP on a Windows machine.
I don't get how to do so, forcing all traffic under HTTPS
Could someone help me?


Forcing all traffic under https to me means forcing all traffic on port 80 (http) to port 443 (https). Is this what you are looking for or how to setup your apache to use your new wildcard certificate? They are two different things.
gsmith
 
Posts: 275
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: SSL with wildcard certificate

Postby towerman » 06. October 2021 08:25

Nobbie wrote:
towerman wrote:So I just have to stop Apache, change the virtualhost in httpd-ssl.conf and start Apache again, am I right?


No. Not at all. You need a SSL certificate.
So first of all - do you have a certificate?

Yes, I have it.
I've a certificate as *.domain.ext

Next step?
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 06. October 2021 09:36

Edit httpd-ssl.conf and apply your certificate to your Virtualhost. As i already said, there is an example virtualhost. Put your files as shown in the example, then restart Apache.

Actually, there are tons of tutorials and documentation in the internet, how to apply SSL certficates to Xampp. Simply google for " apply ssl certificate to Xampp". Its not very usefull if i repeat what others already have documented nicely.
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04

Re: SSL with wildcard certificate

Postby towerman » 07. October 2021 09:17

Nobbie wrote:Edit httpd-ssl.conf and apply your certificate to your Virtualhost. As i already said, there is an example virtualhost. Put your files as shown in the example, then restart Apache.

Actually, there are tons of tutorials and documentation in the internet, how to apply SSL certficates to Xampp. Simply google for " apply ssl certificate to Xampp". Its not very usefull if i repeat what others already have documented nicely.

I've already googled online, but I don't make it work
That's why I've written here.
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 07. October 2021 10:58

With that extremely poor amount of information nobody can help. You should explain precisely, what you are doing, which files do you have, which certificate (who releases it), what exactly did you try already (did you change any configuration, and what did you change), what happens after,did you get any messages, please show us all of them an finally do not show us dummy data (like domain.com) but real data and real code. Copy & paste code and message

"I dont make it work" does not provide any information.
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04

Re: SSL with wildcard certificate

Postby towerman » 12. October 2021 09:45

Nobbie wrote:With that extremely poor amount of information nobody can help. You should explain precisely, what you are doing, which files do you have, which certificate (who releases it), what exactly did you try already (did you change any configuration, and what did you change), what happens after,did you get any messages, please show us all of them an finally do not show us dummy data (like domain.com) but real data and real code. Copy & paste code and message

"I dont make it work" does not provide any information.

Don't worry mate, I won't make you angry anymore, you can take your arrogance for someone else :wink:
User avatar
towerman
 
Posts: 6
Joined: 04. October 2021 13:42
XAMPP version: 7.4.24
Operating System: Windows

Re: SSL with wildcard certificate

Postby Nobbie » 12. October 2021 20:46

Genau wie ich es mir gedacht habe. Ein absoluter Vollidiot und Schlaumichel, der ernsthaft glaubt, er würde mit seinem primitiven Anliegen durchkommen. Ne, kannst Du knicken.
Nobbie
 
Posts: 12199
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: xcqpdbqd687 and 40 guests