Get SSL Lets encrypt working on Zotonic

39 views
Skip to first unread message

laye...@gmail.com

unread,
Apr 11, 2019, 11:27:30 AM4/11/19
to Zotonic developers
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

Marc Worrell

unread,
Apr 11, 2019, 11:36:21 AM4/11/19
to '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


--

---
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-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

el

unread,
Apr 11, 2019, 11:43:23 AM4/11/19
to zotonic-d...@googlegroups.com
Hi Marc,

Yes its on the Zotonic / System / modules page.

thanks
Eddie

Marc Worrell

unread,
Apr 11, 2019, 3:16:29 PM4/11/19
to '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

Marc Worrell

unread,
Apr 11, 2019, 3:54:44 PM4/11/19
to '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

el

unread,
Apr 12, 2019, 8:01:17 AM4/12/19
to zotonic-d...@googlegroups.com
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

Marc Worrell

unread,
Apr 12, 2019, 1:43:10 PM4/12/19
to '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 <laye...@gmail.com> wrote:

Hi Marc,

laye...@gmail.com

unread,
Apr 24, 2019, 1:32:40 PM4/24/19
to Zotonic developers
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
Reply all
Reply to author
Forward
0 new messages