Let's Encrypt with XAMPP on Windows

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

Let's Encrypt with XAMPP on Windows

Postby nom3d » 21. January 2018 19:59

Has anyone had any luck installing an SSL from Let's Encrypt in Windows?

Currently I'm trying to use letsencrypt-win-simple https://github.com/Lone-Coder/letsencrypt-win-simple but it seems it's mostly geared towards IIS and I'm getting lost with the self host verification files and the installation scripts.

What would be really great is to find a guide written in simple steps that explains things clearly.
nom3d
 
Posts: 3
Joined: 21. January 2018 19:55
XAMPP version: 7.2.1
Operating System: Windows 7

Re: Let's Encrypt with XAMPP on Windows

Postby nom3d » 21. January 2018 22:20

I found this site useful https://www.sslforfree.com/ just need to add virtual host for 443 and set path for certs
nom3d
 
Posts: 3
Joined: 21. January 2018 19:55
XAMPP version: 7.2.1
Operating System: Windows 7

Re: Let's Encrypt with XAMPP on Windows

Postby palinka » 12. March 2018 02:08

nom3d wrote:I found this site useful https://www.sslforfree.com/ just need to add virtual host for 443 and set path for certs


This worked great. I was racking my brains searching all over the internet for useful information. sslforfree is the only thing that worked for me. And it couldn't be easier.

For anyone else having issues, here's a couple of tips on how to get it working.

First, make sure your virtual hosts are in place. You need a readable ./well-known/acme-challenge/ for validation.

Second, when you make the certificates, choose the "download all" option and you'll get 2 certs and a key file.

I put those files into C:\xampp\apache\conf\altcerts\domain.tld\ for storage. They can go anywhere, but since my self signed certificate was located in \conf\, I put the letsencrypt ones there in a way I could keep track of them.

Lastly, I had a little trouble figuring out which cert was for what, but this works (virtual host):

Code: Select all
   SSLCertificateFile "conf/altcerts/domain.tld/certificate.crt"
   SSLCertificateKeyFile "conf/altcerts/domain.tld/private.key"
   SSLCertificateChainFile "conf/altcerts/domain.tld/ca_bundle.crt"


I'm not sure if you need the chain file, but I got it working that way.
palinka
 
Posts: 2
Joined: 12. March 2018 00:30
XAMPP version: 5.6
Operating System: Windows 10 pro

Re: Let's Encrypt with XAMPP on Windows

Postby gsmith » 13. March 2018 18:45

New module (mod_md) in Apache 2.4.32 that will automate the process for you and will keep 3rd parties like SSL For Free out of the picture. 2.4.32 source will be released later today, It will take awhile for xampp to catch up but once it does, there will be an easy way to manage certs with little to no user interaction once configured.
gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: Let's Encrypt with XAMPP on Windows

Postby DsAnh » 15. December 2018 19:38

Anyone has successfully installing Letsencrypt for Apache 2.4 on Windows? Please share details. Thanks in advance.
DsAnh
 
Posts: 1
Joined: 15. December 2018 19:28
XAMPP version: 7.2.1
Operating System: Windows 10

Re: Let's Encrypt with XAMPP on Windows

Postby palinka » 19. May 2019 15:28

nom3d wrote:Has
What would be really great is to find a guide written in simple steps that explains things clearly.


I wrote this step by step guide a while back (after dumping ssl4free). It's completely automated.

https://hmailserver.com/forum/viewtopic.php?f=21&t=32593
palinka
 
Posts: 2
Joined: 12. March 2018 00:30
XAMPP version: 5.6
Operating System: Windows 10 pro


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 106 guests