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

Cleanup webroot #28

Open
mikedevita opened this issue Dec 4, 2015 · 1 comment
Open

Cleanup webroot #28

mikedevita opened this issue Dec 4, 2015 · 1 comment

Comments

@mikedevita
Copy link

I am using the following script to generate certificates and noticed the /tmp/letsencrypt dir contents are left intact even after ssl generation. Should I be deleting these after generation?

DOMAIN=domain.com;
sudo mkdir /etc/nginx/ssl/${DOMAIN};
sudo chmod 700 /etc/nginx/ssl/${DOMAIN};
cd /etc/nginx/ssl/${DOMAIN};
simp_le -d ${DOMAIN}:/tmp/letsencrypt -f key.pem -f cert.pem -f fullchain.pem
sudo chmod -R 400 /etc/nginx/ssl/${DOMAIN}/*;
@kuba
Copy link
Owner

kuba commented Dec 6, 2015

I don't believe that leaving those files poses any security risk, but it would be better if client cleaned up after itself.

@kuba kuba changed the title is there a security concern with leaving the webroot contents? Cleanup webroot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants