Author |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
Posted: Fri 29 Jan '16 14:46 Post subject: Let’s Encrypt - Apache - Windows |
|
|
Hello,
I wonder if there is a way to use Let’s Encrypt for apache on Windows ?
If yes, wich ?
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 04 Feb '16 17:31 Post subject: |
|
|
it might be an option to use mintty or cygwin to run the bash scripts. Haven't tried. |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Thu 10 Mar '16 17:15 Post subject: Re: Let’s Encrypt - Apache - Windows |
|
|
If you don't want official solutions only, you can use letsencrypt-win-simple. |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Mon 11 Apr '16 10:57 Post subject: |
|
|
After installing Let’s Encrypt pems, I had an issue about "How to renew the fullchain.pem automatically".
Yesterday I made a simple batch file. I think it resolves the issue.
If you are interested in the batch file, go here. |
|
Back to top |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
Posted: Mon 11 Apr '16 11:02 Post subject: |
|
|
Thanks, i will take a look |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Tue 19 Jul '16 19:47 Post subject: |
|
|
I couldn't renew my certs by letsencrypt win simple because of something like this. I gave up to use letsencrypt win simple and looked for other ways. Then I found Letsencrypt.sh. I use it on Cygwin and made another batch for renewing. If you are still interested, see my post. |
|
Back to top |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
Posted: Tue 19 Jul '16 22:55 Post subject: |
|
|
I think i will wait for win 10 update...
Some of linux script will work natively on windows after august update. Maybe letsencrypt can work without cygwin. |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Wed 20 Jul '16 1:16 Post subject: |
|
|
bagu wrote: | Some of linux script will work natively on windows after august update. |
Yes, I heard such things, too. Is your web server on Windows10 PC? Good!
I cannot upgrade mine because of its hardware poorness and will continue to use it until Windows7 EOL. |
|
Back to top |
|
jimski
Joined: 18 Jan 2014 Posts: 196 Location: USSA
|
Posted: Sun 21 Aug '16 18:21 Post subject: |
|
|
You don't need cygwin. It will run directly on windows but requires .NET.
There is renewal bug in the win-simple script but it has been fixed in version 1.8 and re-introduced in version 1.9 . |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Mon 22 Aug '16 1:51 Post subject: |
|
|
jimski wrote: | You don't need cygwin. It will run directly on windows but requires .NET. |
Is this about win-simple script?
jimski wrote: | There is renewal bug in the win-simple script but it has been fixed in version 1.8 and re-introduced in version 1.9 |
But I failed the renewal when I used win-simple script version1.9.
Please tell me your exact steps if you don't mind.
Thanks. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 08 Oct '16 11:05 Post subject: |
|
|
@o6asan Thanks for the pointers. Running now on Apache Lounge.
Used letsencrypt-win-simple 1.9.1 |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Sat 08 Oct '16 18:51 Post subject: |
|
|
@Steffen
Steffen wrote: | Running now on Apache Lounge. |
It's nice. I'm glad to hear that.
By the way, we had jimski's report that said he had a renewing job by version 1.9 successfully. But I couldn't by 1.9.1. So I asked him to tell his exact steps and haven't his reply yet.
The bug was really fixed or not? On your system, is the renewal for Apache good?
If the script was fixed, my batch for renewal would work well. Or maybe the script has new features for it. I don't know about it because now I use dehydrated and it works well at the renewal. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sun 09 Oct '16 10:43 Post subject: |
|
|
When the time is there, I prefer go to renew manualy.
letsencrypt-win-simple was creating a renew task in the task sheduler, I deleted it. |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Sun 09 Oct '16 14:41 Post subject: |
|
|
Steffen wrote: | letsencrypt-win-simple was creating a renew task in the task sheduler, I deleted it. |
I think it's no problem. But what do you mean "manually"? Manually or automatically, I think you will use "letsencrypt.exe" at the time.
When I ran "letsencrypt.exe" with --renew option at the first renewal, it gave me "Checking Renewals Checking Manual MyDomain.com (My DocumentRoot) Renew After 2016/07/12" but it didn't take any actual acts. I still had old certs after that. So I'd like to know new behaviors of the script in the situation. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 10 Oct '16 12:37 Post subject: |
|
|
Yep, I will use "letsencrypt.exe" at the time.
When renew is not working, I can do then again:
>letsencrypt --san
..
Which host do you want to get a certificate for: m
Enter a host name: apachelounge.com
Enter all Alternative Names seperated by a comma apachelounge.com,www.apachelounge.com,...,...,..
..
..
Then copy manual. |
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Mon 10 Oct '16 13:07 Post subject: |
|
|
I understood the meaning of your "manually".
Steffen wrote: | When renew is not working, I can do then again:
>letsencrypt --san
--(snip)-- |
This is the same I did on June 23 when the renew was not working.
Thanks for your reply. |
|
Back to top |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
Posted: Mon 10 Oct '16 15:31 Post subject: |
|
|
As i see, letsencrypt don't support wildcard for now.
So it's a bit hard to use it on dynamic hosting. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
o6asan
Joined: 27 Aug 2015 Posts: 44 Location: Japan, Fukuoka
|
Posted: Thu 13 Oct '16 5:01 Post subject: |
|
|
@Steffen Thanks for the information. I added it to the post. |
|
Back to top |
|