Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Certbot as non-root user #17

Open
gronke opened this issue Sep 20, 2016 · 0 comments
Open

Running Certbot as non-root user #17

gronke opened this issue Sep 20, 2016 · 0 comments

Comments

@gronke
Copy link
Contributor

gronke commented Sep 20, 2016

In a secure environment it is not acceptable to download and execute a script as root, that came from an untrusted source.

The certbot repository is cloned from GitHub without checking against trusted signatures. An attacker compromising the GitHub account might alter existing releases, so that this role would force update and execute the malicious code as root.

A first step could be to run certbot in webroot mode instead of standalone and use the already installed python -m SimpleHTTPServer to serve the content of this directory for the acme-challenge. Optionally an existing server can be used that is configured to serve /.well-known/acme-challenge/ from the output directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants