Theres an auto renewal command in certbot already. Check it out

On Thu, Apr 11, 2019, 8:22 AM Desmond <doshawa...@gmail.com> wrote:

> Hello All,
>
> This is the first time I've ever posted in the group so forgive me if this
> question is too broad for Django. If so, if you could please direct me to
> another user group, I would be delighted.
>
> I've been working on a project that was previously set up by an old
> contractor. They set up a web server using Daphne on AWS Lightsail running
> on Ubuntu 16.04 (xenial). For SSL certification, they used Let's Encrypt
> and Certbot. I've been wanting to set up auto-renewal for the SSL
> certification but have been running into many road blocks in the meantime.
> The contractor's instructions on renewing the server is as follows:
>
> cd /home/ubuntu
> sudo certbot --authenticator standalone --installer nginx -d example.com 
> --pre-hook "service nginx stop" --post-hook "service nginx start"
> cd /home/server
> sudo cp /etc/letsencrypt/live/example.com/cert.pem .
> sudo cp /etc/letsencrypt/live/example.com/chain.pem .
> sudo cp /etc/letsencrypt/live/example.com/fullchain.pem .
> sudo cp /etc/letsencrypt/live/example.com/privkey.pem .
>
>
> Initially, I thought that I would just make a cron job of this and call it
> a day but when I test it, I get no results. What puzzles me is that he uses
> nginx as an installer which should be used if the previous contractor
> wanted to set up a nginx server. Can anyone help me understand the logic
> here and to then set up auto-renewal?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cd54d0db-9a53-4f5f-b994-f1021b5dfdc2%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cd54d0db-9a53-4f5f-b994-f1021b5dfdc2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF%2BYYc4KQb-52CX39Y7hJMSXKdxfDwkQr6ySzv_NFVzzxu9HHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to