Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-24 Thread layeddie
Hi Marc,

Sorry for delay in getting back to you - been distracted by other issues.

I did the following
git pull
make

I could see letsencrypt modules re-compiling.

then tried
zotonic restart
but keep getting

zotonic@ubuntu-2gb-nbg1-2:~/zotonic$ zotonic restart
/home/zotonic/zotonic/apps/zotonic_launcher/bin/helpers/zotonic_setup: line 
200: authbind: command not found
/home/zotonic/zotonic/apps/zotonic_launcher/bin/helpers/zotonic_setup: line 
200: authbind: command not found
Restarting Zotonic
/home/zotonic/zotonic/apps/zotonic_launcher/bin/helpers/zotonic_setup: line 
200: authbind: command not found
/home/zotonic/zotonic/apps/zotonic_launcher/bin/helpers/zotonic_setup: line 
200: authbind: command not found
/home/zotonic/zotonic/apps/zotonic_launcher/bin/helpers/zotonic_setup: line 
19: -sname: command not found
Zotonic is not running. You need to start Zotonic first to use this command.


zotonic@ubuntu-2gb-nbg1-2:~$ cat ~/zotonic/priv/log/console.log
2019-04-24 13:13:51.531 [info] <0.31079.95> TLS server: In state hello at 
tls_handshake.erl:220 generated SERVER ALERT: Fatal - Protocol Version

2019-04-24 13:14:02.363 [info] <0.31103.95> TLS server: In state hello at 
tls_handshake.erl:204 generated SERVER ALERT: Fatal - Insufficient Security 
- no_suitable_ciphers

2019-04-24 13:14:13.326 [info] <0.31131.95> TLS server: In state hello at 
tls_handshake.erl:204 generated SERVER ALERT: Fatal - Insufficient Security 
- no_suitable_ciphers

2019-04-24 13:42:42.445 [info] <0.1638.96> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 13:42:42.447 [info] <0.1636.96> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 13:42:42.708 [info] <0.1655.96> TLS server: In state abbreviated 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 13:42:42.879 [info] <0.1662.96> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 13:42:44.747 [info] <0.1684.96> TLS server: In state abbreviated 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 17:19:08.488 [info] <0.26590.96> TLS server: In state certify 
received CLIENT ALERT: Fatal - Unknown CA

2019-04-24 17:19:09.819 [info] <0.26602.96> TLS server: In state certify 
received CLIENT ALERT: Fatal - Unknown CA

2019-04-24 18:15:08.768 [info] <0.279.97> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 18:15:11.371 [info] <0.311.97> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 18:15:12.399 [info] <0.322.97> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 18:57:06.561 [info] <0.5230.97> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 18:57:06.571 [info] <0.5232.97> TLS server: In state certify 
received CLIENT ALERT: Fatal - Certificate Unknown

2019-04-24 18:57:06.876 [info] <0.5247.97> TLS server: In state abbreviated 
received CLIENT ALERT: Fatal - Certificate Unknown


Eddie




On Friday, April 12, 2019 at 6:43:10 PM UTC+1, Marc Worrell wrote:
>
> Did you just try git pull and then make?
> That should update the dependencies.
>
> - M
>
> On 12 Apr 2019, at 14:00, el > wrote:
>
> Hi Marc,
> Didn’t think it would be a bug. Thought it might be that I missed out some 
> configuration step. 
> Could you run through how you would update that change without doing a 
> full re-install. 
>
> I installed using git clone https://github.com/zotonic/zotonic.git
> I could do a fresh install on another machine maybe.
>
> Eddie
>
>
>
> On 11 Apr 2019, at 20:54, 'Marc Worrell' via Zotonic developers <
> zotonic-d...@googlegroups.com > wrote:
>
> Hi Eddie,
>
> I pushed an update to our letsencrypt version.
>
> It now works on our cotonic branch, and I merged that change into the 
> master.
>
> Can you check again?
> (Don’t forget to enable ‘cron’)
>
> Please check the log files if anything goes wrong.
>
> Cheers, Marc
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-12 Thread 'Marc Worrell' via Zotonic developers
Did you just try git pull and then make?
That should update the dependencies.

- M

> On 12 Apr 2019, at 14:00, el  wrote:
> 
> Hi Marc,
> Didn’t think it would be a bug. Thought it might be that I missed out some 
> configuration step. 
> Could you run through how you would update that change without doing a full 
> re-install. 
> 
> I installed using git clone https://github.com/zotonic/zotonic.git 
> 
> I could do a fresh install on another machine maybe.
> 
> Eddie
> 
> 
> 
> On 11 Apr 2019, at 20:54, 'Marc Worrell' via Zotonic developers 
>  > wrote:
> 
>> Hi Eddie,
>> 
>> I pushed an update to our letsencrypt version.
>> 
>> It now works on our cotonic branch, and I merged that change into the master.
>> 
>> Can you check again?
>> (Don’t forget to enable ‘cron’)
>> 
>> Please check the log files if anything goes wrong.
>> 
>> Cheers, Marc

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-12 Thread el
Hi Marc,
Didn’t think it would be a bug. Thought it might be that I missed out some
configuration step.
Could you run through how you would update that change without doing a full
re-install.

I installed using git clone https://github.com/zotonic/zotonic.git
I could do a fresh install on another machine maybe.

Eddie



On 11 Apr 2019, at 20:54, 'Marc Worrell' via Zotonic developers <
zotonic-developers@googlegroups.com> wrote:

Hi Eddie,

I pushed an update to our letsencrypt version.

It now works on our cotonic branch, and I merged that change into the
master.

Can you check again?
(Don’t forget to enable ‘cron’)

Please check the log files if anything goes wrong.

Cheers, Marc


On 11 Apr 2019, at 21:16, 'Marc Worrell' via Zotonic developers <
zotonic-developers@googlegroups.com> wrote:

Hi Eddie,

It seems something changed with the LetsEncrypt API since we made the
module.
I am investigating it.

- Marc

PS. Ensure that the ‘cron’ module is also running, might be the reason your
module didn’t start



On 11 Apr 2019, at 17:42, el  wrote:

Hi Marc,

Yes its on the Zotonic / System / modules page.

thanks
Eddie

On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers <
zotonic-developers@googlegroups.com> wrote:

> Hi Eddie,
>
> This is the Zotonic master LetsEncrypt module?
> If so, then I will need to check it, as I didn’t use it for a while.
> (We are working on the last bits of the MQTT/Cotonic integration)
>
> - Marc
>
>
> On 11 Apr 2019, at 17:27, layed...@gmail.com wrote:
>
> Hi Marc,
>
>  I am trying to get a certificate working on my zotonic installation.
>
> I have activated the  SSL - Lets Encrypt module but its not showing the
> green radio button against it.
> it shows light green then goes grey.
>
> Eddie
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to zotonic-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to zotonic-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



-- 

---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 

---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie,

I pushed an update to our letsencrypt version.

It now works on our cotonic branch, and I merged that change into the master.

Can you check again?
(Don’t forget to enable ‘cron’)

Please check the log files if anything goes wrong.

Cheers, Marc


> On 11 Apr 2019, at 21:16, 'Marc Worrell' via Zotonic developers 
>  wrote:
> 
> Hi Eddie,
> 
> It seems something changed with the LetsEncrypt API since we made the module.
> I am investigating it.
> 
> - Marc
> 
> PS. Ensure that the ‘cron’ module is also running, might be the reason your 
> module didn’t start
> 
> 
> 
>> On 11 Apr 2019, at 17:42, el > > wrote:
>> 
>> Hi Marc,
>> 
>> Yes its on the Zotonic / System / modules page.
>> 
>> thanks
>> Eddie
>> 
>> On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers 
>> > > wrote:
>> Hi Eddie,
>> 
>> This is the Zotonic master LetsEncrypt module?
>> If so, then I will need to check it, as I didn’t use it for a while.
>> (We are working on the last bits of the MQTT/Cotonic integration)
>> 
>> - Marc
>> 
>> 
>>> On 11 Apr 2019, at 17:27, layed...@gmail.com  
>>> wrote:
>>> 
>>> Hi Marc,
>>> 
>>>  I am trying to get a certificate working on my zotonic installation.
>>> 
>>> I have activated the  SSL - Lets Encrypt module but its not showing the 
>>> green radio button against it.
>>> it shows light green then goes grey.
>>> 
>>> Eddie
>>> 
>>> 
>>> -- 
>>> 
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Zotonic developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to zotonic-developers+unsubscr...@googlegroups.com 
>>> .
>>> For more options, visit https://groups.google.com/d/optout 
>>> .
>> 
>> 
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to zotonic-developers+unsubscr...@googlegroups.com 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
>> 
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to zotonic-developers+unsubscr...@googlegroups.com 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie,

It seems something changed with the LetsEncrypt API since we made the module.
I am investigating it.

- Marc

PS. Ensure that the ‘cron’ module is also running, might be the reason your 
module didn’t start



> On 11 Apr 2019, at 17:42, el  wrote:
> 
> Hi Marc,
> 
> Yes its on the Zotonic / System / modules page.
> 
> thanks
> Eddie
> 
> On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers 
>  > wrote:
> Hi Eddie,
> 
> This is the Zotonic master LetsEncrypt module?
> If so, then I will need to check it, as I didn’t use it for a while.
> (We are working on the last bits of the MQTT/Cotonic integration)
> 
> - Marc
> 
> 
>> On 11 Apr 2019, at 17:27, layed...@gmail.com  
>> wrote:
>> 
>> Hi Marc,
>> 
>>  I am trying to get a certificate working on my zotonic installation.
>> 
>> I have activated the  SSL - Lets Encrypt module but its not showing the 
>> green radio button against it.
>> it shows light green then goes grey.
>> 
>> Eddie
>> 
>> 
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to zotonic-developers+unsubscr...@googlegroups.com 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread el
Hi Marc,

Yes its on the Zotonic / System / modules page.

thanks
Eddie

On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers <
zotonic-developers@googlegroups.com> wrote:

> Hi Eddie,
>
> This is the Zotonic master LetsEncrypt module?
> If so, then I will need to check it, as I didn’t use it for a while.
> (We are working on the last bits of the MQTT/Cotonic integration)
>
> - Marc
>
>
> On 11 Apr 2019, at 17:27, layed...@gmail.com wrote:
>
> Hi Marc,
>
>  I am trying to get a certificate working on my zotonic installation.
>
> I have activated the  SSL - Lets Encrypt module but its not showing the
> green radio button against it.
> it shows light green then goes grey.
>
> Eddie
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to zotonic-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to zotonic-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie,

This is the Zotonic master LetsEncrypt module?
If so, then I will need to check it, as I didn’t use it for a while.
(We are working on the last bits of the MQTT/Cotonic integration)

- Marc


> On 11 Apr 2019, at 17:27, layed...@gmail.com wrote:
> 
> Hi Marc,
> 
>  I am trying to get a certificate working on my zotonic installation.
> 
> I have activated the  SSL - Lets Encrypt module but its not showing the green 
> radio button against it.
> it shows light green then goes grey.
> 
> Eddie
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.