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 #10

Closed
zenhack opened this issue Jan 2, 2017 · 1 comment
Closed

Cleanup webroot #10

zenhack opened this issue Jan 2, 2017 · 1 comment

Comments

@zenhack
Copy link
Owner

zenhack commented Jan 2, 2017

Issue by mikedevita
Friday Dec 04, 2015 at 18:08 GMT
Originally opened as kuba/simp_le#28


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}/*;
@zenhack
Copy link
Owner Author

zenhack commented Jan 2, 2017

Comment by kuba
Sunday Dec 06, 2015 at 00:15 GMT


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

@zenhack zenhack closed this as completed Jan 2, 2017
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

1 participant