..
How to Renew the SSL Certificate on Amazon AWS
This posts assume that you are using the Certbot and AWS.
To renew a AWS SSL certificate, execute the next commands:
service nginx stop # stop the nginx server to free port 80, # if stop failure, then uses: # sudo pkill -f nginx & wait $! certbot renew service nginx start