Comments (5)
A good point. it should work if "-w" is specified on the command line. if that's not defined, it assumes that the working directory is ~/.getssl and then uses that, there should be a way to put it in a config file though.
My challenge of logic, is how does it read from the config file, in the "WORKING_DIR" if that isn't defined on the command line, but is defined in the config file in "~/.getssl/getssl.cfg" (as it's reading it from "$WORKING_DIR/getssl.cfg" .. if that makes sense.
from getssl.
You has two "working dirs". The WORKING_DIR and DOMAIN_DIR. In my mind they are the same.
But I can think of an environment where I use one dir for the account config file and other dir outside where the domains are stored in.
I would suggest to set the account-config file in ~/.getssl (default) or the "-w /dir".
If then someone defines WORKING_DIR in the account-config file to renew the WORKING_DIR, DOMAIN_DIR, ... in getssl after reading getssl.cfg.
Defining WORKING_DIR in the domail-config is useless, because the location was already created and can't be changed.
from getssl.
OK, I think I understand where you are coming from. I may need to define a new variable ( so that everything is backward compatible ).
WORKING_DIR and DOMAIN_DIR are slightly different.
WORKING_DIR is the top level directory, and then there is a different DOMAIN_DIR below that - for each domain.
How about if we had a variable DOMAIN_STORAGE .... which by default would be the same as WORKING_DIR ... but could be set in the "$WORKING_DIR/.getssl.cfg" and then all the domain data would be in $DOMAIN_STORAGE/$DOMAIN/
Would you want different $DOMAIN_STORAGE locations for different domains at all ?
from getssl.
Perfect!
from getssl.
added in version 1.12 (I'll update the wiki / documentation).
from getssl.
Related Issues (20)
- ERR_CERT_DATE_INVALID on different port numbers ? HOT 1
- combined .pem for pure-ftpd ??? HOT 1
- Wildcard certificates with bind9 ?
- Move from Staging to Production? HOT 1
- DNS verification not working HOT 6
- revoke : Invalid key file ? + --account-id bug ? HOT 3
- cp failing due to identical files is still counted as a failure
- Is there a way to change the administrator email address registered with Letβs Encrypt using getSSL? HOT 3
- DNS CNAME check failed HOT 1
- Certificate on remote domain does not match, ignoring remote certificate (example.com != mydomain.net) HOT 12
- DNS script for Linode needs updating for V4 API
- I need help with CA's and Firefox HOT 3
- comma appended to server name? HOT 2
- Error with Azure DNS + LetsEncrypt domain validation token that starts with a dash char
- More stray http01 tokens
- CNAME issues with dns-01
- Too many server reloads; stale certificate exposed
- DNS-01 validation for non-wildcard names HOT 3
- Upgrading 2.49 HOT 3
- Error during secondary validation HOT 8
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 getssl.