Koozali.org: home of the SME Server

StartSSL Issue

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #15 on: January 12, 2016, 11:16:28 AM »
I'm not certain exactly what type of DNS record would be required, but I believe it would be either an A or a CNAME record.  For each hostname for which you're seeking a cert, the ACME server tries to connect to http://$HOSTNAME/.well-known/acme-challenge/$LONGSTRING and ensure that file contains the correct contents.  $LONGSTRING and its contents both look random, but are in fact cryptographically generated somehow.
......

Offline brianr

  • *
  • 988
  • +2/-0
Re: StartSSL Issue
« Reply #16 on: January 12, 2016, 12:34:51 PM »
I'm not certain exactly what type of DNS record would be required, but I believe it would be either an A or a CNAME record.  For each hostname for which you're seeking a cert, the ACME server tries to connect to http://$HOSTNAME/.well-known/acme-challenge/$LONGSTRING and ensure that file contains the correct contents.  $LONGSTRING and its contents both look random, but are in fact cryptographically generated somehow.

aha - that is very useful, I'll see if I can arrange that!!
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #17 on: January 13, 2016, 03:37:57 PM »
I've made some significant revisions to the letsencrypt.sh portions of the wiki page--the installation process is revised, and the renewal process is added.  It should work on SME 8.x as well as 9.x.

Edit:  There's also an RPM in development which will probably take away most of the manual work in this, but I don't know when we should expect to see it released.
« Last Edit: January 13, 2016, 03:54:55 PM by DanB35 »
......

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: StartSSL Issue
« Reply #18 on: January 13, 2016, 04:45:08 PM »
I've added some notes to the wiki on installing and using letsencrypt.sh.  No doubt it's rough at this point, but it should work on SME 8 as well as 9.  See http://wiki.contribs.org/Letsencrypt#Installation_of_Letsencrypt.sh

Dan,

could you add some notes about the contrib I am trying to build ?

For those interested see http://bugs.contribs.org/show_bug.cgi?id=8676

http://www.reetspetit.com/smeserver/6/repoview/smeserver-letsencrypt.html

http://wiki.contribs.org/User:ReetP

https://github.com/reetp/smeserver-letsencrypt/tree/smeserver-letsencrypt-0.1

We may get some help testing, and then everyone is using the same software :-)

Although this is technically built for v9 as far as I am aware it should build and run on v8 currently

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #19 on: January 13, 2016, 06:34:42 PM »
could you add some notes about the contrib I am trying to build?
Glad to.  Would you like me to simply note that a contrib is under development, or link to the bug/repo page/something else?
......

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: StartSSL Issue
« Reply #20 on: January 13, 2016, 06:47:57 PM »
Glad to.  Would you like me to simply note that a contrib is under development, or link to the bug/repo page/something else?

Whatever you want - more the better I guess !

Would normally do it myself but would be grateful if you could take that off my hands right now...

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #21 on: January 13, 2016, 07:22:20 PM »
I added a note under Introduction.
......

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: StartSSL Issue
« Reply #22 on: January 13, 2016, 08:03:47 PM »
I added a note under Introduction.

Thank you. All a bit messy here right now as you can imagine.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #23 on: January 13, 2016, 08:29:26 PM »
Indeed.  I considered trying to document the contrib, but I thought it better to let it settle a bit first.  In the meantime, there's notice that there's one in progress, and pointers to more info.
......

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: StartSSL Issue
« Reply #24 on: January 16, 2016, 07:37:32 PM »
Update:  It turns out that letsencrypt.sh currently relies on a feature of sed that isn't present in SME 8.  Hopefully this will be resolved shortly, but until then, don't expect that the instructions on the wiki will work.  Check out the bug tracker for all the details.
......

Offline ReetP

  • *
  • 3,732
  • +5/-0
Re: StartSSL Issue
« Reply #25 on: January 16, 2016, 11:19:40 PM »
Update:  It turns out that letsencrypt.sh currently relies on a feature of sed that isn't present in SME 8.  Hopefully this will be resolved shortly, but until then, don't expect that the instructions on the wiki will work.  Check out the bug tracker for all the details.

Seems they have fixed it.

Just updating things now.

http://bugs.contribs.org/show_bug.cgi?id=8676
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline brianr

  • *
  • 988
  • +2/-0
Re: StartSSL Issue
« Reply #26 on: January 21, 2016, 05:23:59 PM »
I have started a bugzilla entry for the server panel to go with this.

http://bugs.contribs.org/show_bug.cgi?id=9196

All contributions gratefully accepted!
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........