jcadima
5/6/2019 - 11:31 PM

Certbot Letsencrypt


# shows option to select 3 methods
sudo certbot certonly -d www.hotvue.com -d hotvue.com


# manually enter a txt record:
certbot -d hotvue.com --manual --preferred-challenges dns certonly




 sudo certbot certonly --webroot --webroot-path=/var/www/html/hotvue -d hotvue.com




alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias restartnginx='sudo service nginx restart'
alias nginxrestart='sudo /etc/init.d/nginx restart'
alias cls='clear'
alias restartphp='sudo systemctl restart php7.1-fpm'
alias hotvueconfig='sudo vim /etc/nginx/sites-available/hotvue.com'
alias checknginx='sudo nginx -t'
alias reloadnginx='sudo systemctl reload nginx'
alias toweb='cd /var/www/html'



sudo certbot --nginx -d hotvue.com -d www.hotvue.com