Comments (4)
So I'm curious. Why did you decide to use exec/command to run the lego binary and not to embed the library directly into your projects?
from lego.
Hi xenolf. That is a good question. The reasons are that (1) I was exec-ing the scp binary anyway, so it's not like I'd have avoided using exec, and (2) I wanted to capture the nice terminal output of the lego command since it gets sent in the email for inspection. I could of course have replicated that output with my own Fprintf's and acme package API calls, but for the tutorial I was trying to keep the code as short as possible. If you think it's stylistically or pedagogically bad I can change it, naturally, but I think it would be more lines of code. Anyway, thanks for looking it over.
from lego.
No, I was just curious 😄
I feel like this would make a great blog post, but for the wiki it's a bit too specific I'm afraid.
from lego.
With hindsight, I think you are completely right in that it's far too specific to my setup. It will go on my blog :-)
from lego.
Related Issues (20)
- hope to add a delay to the `dns.disable-cp` parameter HOT 1
- update liquidweb HOT 1
- route53: aws-sdk-go-v2 broke IAM instance role HOT 5
- Vercel provider: could not find zone for domain HOT 5
- NIFCLOUD's DNS provider is no longer working since version 4.12.0.
- go version HOT 1
- GANDIv5: API Key and PAT HOT 1
- S3 with custom endpoint HOT 3
- Error when using LEGO v4.14.2 with OVH API in azukaar/Cosmos-Server project HOT 2
- Support passing a cloudflare zone id instead of a zone read key HOT 4
- Don't create CSRs with a Common Name that is longer than 64 bytes HOT 3
- Dnspod api deprecated HOT 1
- Route53 with delegated zone for dns acme detects wrong zone HOT 2
- route53: aws-sdk-go-v2 no longer allows empty region HOT 4
- Can't get single certificate for both `DOMAIN.com` and `*.DOMAIN.com` HOT 16
- Help with Bunny DNS / Lego / Traefik setup HOT 1
- Please release Azure OIDC support
- desec: increase default `DESEC_PROPAGATION_TIMEOUT` by 60s HOT 4
- directadmin plugin HOT 1
- AutoDNS - mandatory credentials listed as additional HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lego.