Lescript
Infrastructure
ssl certificate automation
SHOW HN2015
How HN took it
5 positive, 9 neutral or asking, 0 mixed, 3 critical, out of 17 comments about the project. Thread score +0.08.
Execution: 1 for, 2 againstDesign: 1 for, 0 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Clean, self-contained code with no dependencies
From 2 comments
Thanks, nice looking code that is pretty darn clean. It is always refreshing to see an application that is as self contained as possible without all the multitude of required…
ewams on HN"99% of sane PHP" is not the audience here. There are millions and millions of shared hosting accounts running basic cPanel + PHP + some minimal form of SSH access - those are…
degenerate on HN
Single file is simple to drop onto shared hosting
From 2 comments
Hell, no! A single PHP file is the perfect solution to this. Call it from /etc/crontab and you are done. I hate overladen projects on GitHub with all kinds of fluff. A single…
3dfan on HN"99% of sane PHP" is not the audience here. There are millions and millions of shared hosting accounts running basic cPanel + PHP + some minimal form of SSH access - those are…
degenerate on HN
Objections
Should be distributed via Composer
From 3 comments
Mate, seriously, use composer and packagist.
jnardiello on HNIt requires at least two PHP files. One that ACTUALLY DOES WHAT YOU WANT and the library files. Since you have to write a new PHP file anyway, composer allows you to pull in the…
Navarr on HNPull request with composer added here: https://github.com/analogic/lescript/pull/5 Hopefully the author sees it
debaserab2 on HN
Lacks namespace and type declarations
From 2 comments
Also maybe a namespace. I doubt they're the only person to have ever made a class called `\Client` :) http://phptherightway.com/ Though I notice that the README states "[i]ts…
TazeTSchnitzel on HN> public function signDomains($domains) Should this have an `array` type declaration? You used it on another function.
TazeTSchnitzel on HN
Existing kelunik/acme library is more robust
From 1 comment
From README: If you prefer more robust and clean library see excellent https://github.com/kelunik/acme
adolfoabegg on HN
Requests
Add Composer support
From 2 comments
Mate, seriously, use composer and packagist.
jnardiello on HNPull request with composer added here: https://github.com/analogic/lescript/pull/5 Hopefully the author sees it
debaserab2 on HN
Add a namespace
From 2 comments
Also maybe a namespace. I doubt they're the only person to have ever made a class called `\Client` :) http://phptherightway.com/ Though I notice that the README states "[i]ts…
TazeTSchnitzel on HNIf the target audience are those developers manually including everything, then it's not a package for me. Using composer is completely unrelated to having (or rather not)…
jnardiello on HN
Add certificate renewal function
From 1 comment
How is this used to renew? I don't see a function related to renewals.
c_prompt on HN
Questions
How is renewal handled
From 2 comments
How is this used to renew? I don't see a function related to renewals.
c_prompt on HNWhat would be the difference between "renewing" and running the script twice? There's no distinction made when I buy certificates from another CA.
dangrossman on HN
What is Let's Encrypt and why change code
From 1 comment
What is Let's encrypt exactly? I thought it was just free SSL so why do I need to touch my code at all?
Kiro on HN
Alternatives named
kelunik/acme
From 2 comments
From README: If you prefer more robust and clean library see excellent https://github.com/kelunik/acme
adolfoabegg on HNAlso maybe a namespace. I doubt they're the only person to have ever made a class called `\Client` :) http://phptherightway.com/ Though I notice that the README states "[i]ts…
TazeTSchnitzel on HN
letsencrypt.sh
From 1 comment
Actually there is single bash file client https://github.com/lukas2511/letsencrypt.sh :)
efesak2 on HN