Koozali.org: home of the SME Server

Multiple SSL certificates

Offline countzero

  • *
  • 31
  • +0/-0
Re: Multiple SSL certificates
« Reply #15 on: June 26, 2016, 11:35:43 PM »
https://letsencrypt.org/ seems to have major sponsors backing the initiative.  Probably safe enough to start using for business critical web hosting.  GIT 'interfacing' script will guarantee upwards compatibility and cron will make it a fire and forget solution - nice!  Complexity is a bit of a concern, but then again SSL is obscure subject matter all by itself no matter how you look at it.

Thanks everyone - this made my day!

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #16 on: June 26, 2016, 11:49:51 PM »
https://letsencrypt.org/ seems to have major sponsors backing the initiative.  Probably safe enough to start using for business critical web hosting.  GIT 'interfacing' script will guarantee upwards compatibility and cron will make it a fire and forget solution - nice!  Complexity is a bit of a concern, but then again SSL is obscure subject matter all by itself no matter how you look at it.

Yup - for general solutions it is wroth a whirl.

Quote
Thanks everyone - this made my day!

We try :-)

Quote
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Hahahahahahaha...... Seems I need to run and hide :-)
...
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 countzero

  • *
  • 31
  • +0/-0
Re: Multiple SSL certificates
« Reply #17 on: June 27, 2016, 10:39:16 AM »
https://wiki.contribs.org/Letsencrypt works beautifully.  5 minutes is all it took.  I now have multi-domain SSL certs active on Koozali / SME server 9.x.   I cried a little.

Thanks everyone; michelandre: Fait: Aucun mot dans la langue anglaise rime avec mois , orange , argent ou violet. Fait: " Rêvé " est le seul mot anglais qui se termine par les lettres " mt "
« Last Edit: June 27, 2016, 10:48:47 AM by countzero »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Multiple SSL certificates
« Reply #18 on: June 27, 2016, 10:47:51 AM »
Quote
Feedback:
Change /etc/letsencrypt.sh/ to /etc/letsencrypt/.  No folder should have the ".sh" suffix".  Also mention "letsencrypt.sh -c -x" somewhere, just in case you want to have a closer look at the beautiful output of the initial "letsencrypt.sh -c" command.  It all happened so fast.  This might be a good spot for it - in the Troubleshooting section, add an extra line to the text already present:
config delprop modSSL crt
config delprop modSSL key
config delprop modSSL CertificateChainFile

if you think contrib needs some changes, please open a bug
if you think documentation should be amended, please request a wiki access ;-)

thank you

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #19 on: June 27, 2016, 10:53:57 AM »
https://wiki.contribs.org/Letsencrypt works beautifully.  5 minutes is all it took.  I now have multi-domain SSL certs active on Koozali / SME server 9.x.   I cried a little.

LOL..... Good that it all works for you

Quote
Feedback:
Change /etc/letsencrypt.sh/ to /etc/letsencrypt/.  No folder should have the ".sh" suffix". 

The folder choice was not ours. It's the default and I am not about to change it in the rpm - KISS.

Quote
Also mention "letsencrypt.sh -c -x" somewhere, just in case you want to have a closer look at the beautiful output of the initial "letsencrypt.sh -c" command.  It all happened so fast.  This might be a good spot for it - in the Troubleshooting section, add an extra line to the text already present:
config delprop modSSL crt
config delprop modSSL key
config delprop modSSL CertificateChainFile
Now simply run the following command to force a renew (and update modSSL): "letsencrypt -c -x"

If you read the whole page (always worth doing regardless) you will note that with the RPM it does mention creating the test certificates:

Quote
Create test certificates (file is in the path so should be OK)

letsencrypt.sh -c -x


Quote
Thanks everyone; michelandre: Fait: Aucun mot dans la langue anglaise rime avec mois , orange , argent ou violet. Fait: " Rêvé " est le seul mot anglais qui se termine par les lettres " mt "

Fact - the lunatics have now taken over the asylum in the UK :lol:
...
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 ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #20 on: June 27, 2016, 10:55:20 AM »
if you think contrib needs some changes, please open a bug

Unfortunately as the RPM is not in contribs you cannot open a bug against it.... :-)

I try to watch here as best I can but may miss something.
...
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 countzero

  • *
  • 31
  • +0/-0
Re: Multiple SSL certificates
« Reply #21 on: June 27, 2016, 11:05:46 AM »
Quote
If you read the whole page...

It all worked before I got even halfway down the page.  I edited my post to remove some of the clutter but you guys are too fast.

May the forces of evil become confused on the way to your house.

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #22 on: June 27, 2016, 11:31:57 AM »
It all worked before I got even halfway down the page.

Always worth reading the whole page first ;-)

Quote
I edited my post to remove some of the clutter but you guys are too fast.

Only if I am awake and have nothing better to do with my time !!!!
...
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: Multiple SSL certificates
« Reply #23 on: June 27, 2016, 12:18:38 PM »
To give a little background on the directory name: When Let's Encrypt went public about six months ago, that was the name of both the service and the client software.  The client software saved its configuration, certificates, etc, in /etc/letsencrypt.  The client has since been renamed to certbot; I'm not sure if the directory in /etc is still the same or not.

letsencrypt.sh is one of many alternate clients that's implemented as a bash script.  Naming it such makes perfect sense, with the ".sh" distinguishing it from the original client and describing that it's a shell script.  It needs to store data in /etc as well, and shouldn't conflict with /etc/letsencrypt, so /etc/letsencrypt.sh was used.  I agree that a directory name with a .sh extension is unusual, but I think in this case it's needed.
......

Offline michelandre

  • *
  • 261
  • +0/-0
Re: Multiple SSL certificates
« Reply #24 on: June 27, 2016, 04:30:07 PM »
Hi DanB35,

When I installed in 2016-06-26 the directory was still /etc/letsencrypt.sh.

But soon, everything will change:
(May 12, 2016) Announcing Certbot: EFF's Client for Let's Encrypt -- https://www.eff.org/fr/deeplinks/2016/05/announcing-certbot-new-tls-robot
Quote
... Certbot is the next iteration of the Let's Encrypt Client...
... Along with the rename, we've also launched a brand new website for Certbot...
... but by far the biggest feature of the website is an interactive instruction tool...

https://github.com/certbot/certbot
Quote
...Certbot, previously the Let's Encrypt Client, is EFF's tool to obtain certs from Let's Encrypt...
... You can also tell it exactly what you want it to do from the command line...

All of our documentations will be absolete.  :-(

We just wait and Let's see what will happen,  8-)

Michel-André

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Multiple SSL certificates
« Reply #25 on: June 27, 2016, 04:34:01 PM »
The only part of our documentation that would be obsolete is what I removed over the weekend; letsencrypt.sh hasn't changed. I can't speak for what its developer might do in the future wrt directory names, of course.
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Multiple SSL certificates
« Reply #26 on: June 27, 2016, 05:01:58 PM »
Unfortunately as the RPM is not in contribs you cannot open a bug against it.... :-)


time to upload your code, isn't it? ;-)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #27 on: June 27, 2016, 05:26:57 PM »
time to upload your code, isn't it? ;-)

Not my choice.... and I can't really do it.... well, I can as I have access, but no idea how to :-)

I also believe JPP is going to work on a proper implementation over the next few months so it may be better to hang on for that - mine was only ever a temporary hack !
...
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 Stefano

  • *
  • 10,894
  • +3/-0
Re: Multiple SSL certificates
« Reply #28 on: June 27, 2016, 05:38:25 PM »
mmhh..

open a NFR and attach your srpm file, it'd be enough :-)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Multiple SSL certificates
« Reply #29 on: June 27, 2016, 06:04:10 PM »
There's been a NFR for letsencrypt for a long time..... SRPM are on my repo....
...
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