Page 1 of 1

Let's Encrypt with XAMPP on Windows

PostPosted: 21. January 2018 19:59
by nom3d
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.

Re: Let's Encrypt with XAMPP on Windows

PostPosted: 21. January 2018 22:20
by nom3d
I found this site useful https://www.sslforfree.com/ just need to add virtual host for 443 and set path for certs

Re: Let's Encrypt with XAMPP on Windows

PostPosted: 12. March 2018 02:08
by palinka
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.

Re: Let's Encrypt with XAMPP on Windows

PostPosted: 13. March 2018 18:45
by gsmith
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.

Re: Let's Encrypt with XAMPP on Windows

PostPosted: 15. December 2018 19:38
by DsAnh
Anyone has successfully installing Letsencrypt for Apache 2.4 on Windows? Please share details. Thanks in advance.

Re: Let's Encrypt with XAMPP on Windows

PostPosted: 19. May 2019 15:28
by palinka
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