Comments (7)
mkdir -p "$(dirname "$to")"
might also create directories with insufficient permissions.
from getssl.
the token is chmod 755 to ensure it's readable from the web - you are correct though, it doesn't need to be executable ( as it's a plain text file ) so 644 would work fine.
the umask is set at that to preserve the security of the keys. which specific file is it causing issues with ? and what's the ownership ?
from getssl.
The current use of umask in the script covers the keys which is good, but the directory for the challenge token and the token file itself are not covered. So, in an environment where eg umask=0077 directory and token file will be 0700 (of 0600 if you change 755 to 644).
As a quick workaround I added chmod 755
and chmod 644
.
from getssl.
just checking my understanding - the only issue is with the generation of the token directory and the token file itself - correct ?
from getssl.
Yes, exactly. At least this was my problem.
from getssl.
I've updated and tested a version that worked on my systems. please check and let me know if you see any issues still.
from getssl.
Sorry for my late answer. I used getssl ver. 1.36 today on the same server, same setup, and it worked perfectly. Thanks for the fix!
from getssl.
Related Issues (20)
- 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
- Godaddy api disabled
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.