Re: httpd acme-client renew multiple domains

2019-03-27 Thread Hasse Hansson
On Sat, Mar 23, 2019 at 07:05:53PM +0100, Mischa wrote: > Hi Geir, > > I have solved this with a little script. > > ### > #!/bin/sh > OUT=2 > /usr/sbin/acme-client -v www.example.com > if test $? -eq 0 > then EXT=$? > fi > /usr/sbin/acme-client -v www.example1.com > if test $? -eq 0 > then EXT=$

Re: httpd acme-client renew multiple domains

2019-03-27 Thread Hasse Hansson
On Mon, Mar 25, 2019 at 02:49:01PM +0100, Solene Rapenne wrote: > On Mon, Mar 25, 2019 at 02:27:19PM +0100, Mischa wrote: > > > > > > > On 25 Mar 2019, at 01:40, Stuart Henderson wrote: > > > > > > On 2019-03-23, Mischa wrote: > > >> Hi Geir, > > >> > > >> I have solved this with a little scr

Re: httpd acme-client renew multiple domains

2019-03-26 Thread Markus Rosjat
Hi Mischa, if you like some python i got a small script for multiple domain cert renew on my github. I hope its ok to post the link here https://github.com/rosjat/scripts/blob/master/shell/OpenBSD/acme_renew its nothing fancy and you can modify it for your need or may make it better :) reg

Re: httpd acme-client renew multiple domains

2019-03-25 Thread Mischa
> On 25 Mar 2019, at 14:49, Solene Rapenne wrote: > > On Mon, Mar 25, 2019 at 02:27:19PM +0100, Mischa wrote: >> >> >>> On 25 Mar 2019, at 01:40, Stuart Henderson wrote: >>> >>> On 2019-03-23, Mischa wrote: Hi Geir, I have solved this with a little script. ### >

Re: httpd acme-client renew multiple domains

2019-03-25 Thread Solene Rapenne
On Mon, Mar 25, 2019 at 02:27:19PM +0100, Mischa wrote: > > > > On 25 Mar 2019, at 01:40, Stuart Henderson wrote: > > > > On 2019-03-23, Mischa wrote: > >> Hi Geir, > >> > >> I have solved this with a little script. > >> > >> ### > >> #!/bin/sh > >> OUT=2 > >> /usr/sbin/acme-client -v www.ex

Re: httpd acme-client renew multiple domains

2019-03-25 Thread Mischa
> On 25 Mar 2019, at 01:40, Stuart Henderson wrote: > > On 2019-03-23, Mischa wrote: >> Hi Geir, >> >> I have solved this with a little script. >> >> ### >> #!/bin/sh >> OUT=2 >> /usr/sbin/acme-client -v www.example.com >> if test $? -eq 0 >> then EXT=$? >> fi >> /usr/sbin/acme-client -v w

Re: httpd acme-client renew multiple domains

2019-03-24 Thread Hasse Hansson
On Mon, Mar 25, 2019 at 12:40:23AM -, Stuart Henderson wrote: > On 2019-03-23, Mischa wrote: > > Hi Geir, > > > > I have solved this with a little script. > > > > ### > > #!/bin/sh > > OUT=2 > > /usr/sbin/acme-client -v www.example.com > > if test $? -eq 0 > > then EXT=$? > > fi > > /usr/sbin

Re: httpd acme-client renew multiple domains

2019-03-24 Thread Hasse Hansson
On Sat, Mar 23, 2019 at 07:05:53PM +0100, Mischa wrote: > Hi Geir, > > I have solved this with a little script. > > ### > #!/bin/sh > OUT=2 > /usr/sbin/acme-client -v www.example.com > if test $? -eq 0 > then EXT=$? > fi > /usr/sbin/acme-client -v www.example1.com > if test $? -eq 0 > then EXT=$

Re: httpd acme-client renew multiple domains

2019-03-24 Thread Stuart Henderson
On 2019-03-23, Mischa wrote: > Hi Geir, > > I have solved this with a little script. > > ### > #!/bin/sh > OUT=2 > /usr/sbin/acme-client -v www.example.com > if test $? -eq 0 > then EXT=$? > fi > /usr/sbin/acme-client -v www.example1.com > if test $? -eq 0 > then EXT=$? > fi > if test $EXT -eq 0

Re: httpd acme-client renew multiple domains

2019-03-23 Thread Geir Svalland
On 2019-03-23 22:18, Sebastian Benoit wrote: > Geir Svalland(thorshamm...@outlook.com) on 2019.03.23 15:39:13 +: >> Hello >> mtp$ uname -a >> OpenBSD smtp.thorshammare.org 6.4 GENERIC.MP#8 amd64 >> >> I'm hosting and serving multiple domains, 5 of them, using httpd. >> The domains are declare

Re: httpd acme-client renew multiple domains

2019-03-23 Thread Sebastian Benoit
Geir Svalland(thorshamm...@outlook.com) on 2019.03.23 15:39:13 +: > Hello > mtp$ uname -a > OpenBSD smtp.thorshammare.org 6.4 GENERIC.MP#8 amd64 > > I'm hosting and serving multiple domains, 5 of them, using httpd. > The domains are declared in /etc/acme-client.conf, and in my initial > setup

Re: httpd acme-client renew multiple domains

2019-03-23 Thread Mischa
Hi Geir, I have solved this with a little script. ### #!/bin/sh OUT=2 /usr/sbin/acme-client -v www.example.com if test $? -eq 0 then EXT=$? fi /usr/sbin/acme-client -v www.example1.com if test $? -eq 0 then EXT=$? fi if test $EXT -eq 0 then echo "New certificates installed." rcct

httpd acme-client renew multiple domains

2019-03-23 Thread Geir Svalland
Hello mtp$ uname -a OpenBSD smtp.thorshammare.org 6.4 GENERIC.MP#8 amd64 I'm hosting and serving multiple domains, 5 of them, using httpd. The domains are declared in /etc/acme-client.conf, and in my initial setup I used the command "acme-client -vAD example.com" on every domain to create the cer