logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.



Letís Encrypt - Apache - Windows
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
bagu



Joined: 06 Jan 2011
Posts: 98
Location: France

PostPosted: Fri 29 Jan '16 14:46    Post subject: Letís Encrypt - Apache - Windows Reply with quote

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: 6105
Location: Germany, Next to Hamburg

PostPosted: Thu 04 Feb '16 17:31    Post subject: Reply with quote

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: 35
Location: Japan, Fukuoka

PostPosted: Thu 10 Mar '16 17:15    Post subject: Re: Letís Encrypt - Apache - Windows Reply with quote

If you don't want official solutions only, you can use letsencrypt-win-simple.
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 35
Location: Japan, Fukuoka

PostPosted: Thu 24 Mar '16 15:01    Post subject: Re: Letís Encrypt - Apache - Windows Reply with quote

o6asan wrote:
If you don't want official solutions only, you can use letsencrypt-win-simple.


On March 12, I installed Letís Encrypt pem files to Apache2.4.18 on Windows. Now I uses Letís Encrypt certs on my web server, Windows7 HE SP1 (x86).

See How to install a Letís Encrypt Certificate supports SAN to Apache on Windows.
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 35
Location: Japan, Fukuoka

PostPosted: Mon 11 Apr '16 10:57    Post subject: Reply with quote

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: 98
Location: France

PostPosted: Mon 11 Apr '16 11:02    Post subject: Reply with quote

Thanks, i will take a look
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 35
Location: Japan, Fukuoka

PostPosted: Tue 19 Jul '16 19:47    Post subject: Reply with quote

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: 98
Location: France

PostPosted: Tue 19 Jul '16 22:55    Post subject: Reply with quote

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: 35
Location: Japan, Fukuoka

PostPosted: Wed 20 Jul '16 1:16    Post subject: Reply with quote

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: 184
Location: USSA

PostPosted: Sun 21 Aug '16 18:21    Post subject: Reply with quote

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 Smile.
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 35
Location: Japan, Fukuoka

PostPosted: Mon 22 Aug '16 1:51    Post subject: Reply with quote

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: 2447
Location: Hilversum, NL, EU

PostPosted: Sat 08 Oct '16 11:05    Post subject: Reply with quote

@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: 35
Location: Japan, Fukuoka

PostPosted: Sat 08 Oct '16 18:51    Post subject: Reply with quote

@Steffen
Steffen wrote:
Running now on Apache Lounge.

It's nice. I'm glad to hear that. Very Happy

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: 2447
Location: Hilversum, NL, EU

PostPosted: Sun 09 Oct '16 10:43    Post subject: Reply with quote

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: 35
Location: Japan, Fukuoka

PostPosted: Sun 09 Oct '16 14:41    Post subject: Reply with quote

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: 2447
Location: Hilversum, NL, EU

PostPosted: Mon 10 Oct '16 12:37    Post subject: Reply with quote

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: 35
Location: Japan, Fukuoka

PostPosted: Mon 10 Oct '16 13:07    Post subject: Reply with quote

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: 98
Location: France

PostPosted: Mon 10 Oct '16 15:31    Post subject: Reply with quote

As i see, letsencrypt don't support wildcard for now. Sad

So it's a bit hard to use it on dynamic hosting.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2447
Location: Hilversum, NL, EU

PostPosted: Wed 12 Oct '16 10:04    Post subject: Reply with quote

Saw a new one that should solve renew issues:

https://github.com/Lone-Coder/letsencrypt-win-simple/pull/299
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 35
Location: Japan, Fukuoka

PostPosted: Thu 13 Oct '16 5:01    Post subject: Reply with quote

@Steffen Thanks for the information. I added it to the post.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software Goto page 1, 2  Next
Page 1 of 2