Coder Social home page Coder Social logo

Comments (7)

xrat avatar xrat commented on May 20, 2024

mkdir -p "$(dirname "$to")" might also create directories with insufficient permissions.

from getssl.

 avatar commented on May 20, 2024

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.

xrat avatar xrat commented on May 20, 2024

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.

 avatar commented on May 20, 2024

just checking my understanding - the only issue is with the generation of the token directory and the token file itself - correct ?

from getssl.

xrat avatar xrat commented on May 20, 2024

Yes, exactly. At least this was my problem.

from getssl.

 avatar commented on May 20, 2024

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.

xrat avatar xrat commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.