Khắc phụ k có lanh add -apt-get :
sudo apt-get install software-properties-common python-software-properties
https://wordpress.org/plugins/wp-force-ssl/
Link: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04
First, add the repository:
- sudo add-apt-repository ppa:certbot/certbot
You'll need to press
ENTER
to accept. Afterwards, update the package list to pick up the new repository's package information:
- sudo apt-get update
And finally, install Certbot from the new repository with
apt-get
:
- sudo apt-get install python-certbot-apache
sudo certbot --apache -d example.comsudo certbot --apache -d example.com -d www.example.com
Gia hạn:
Để tạo chứng chỉ, hãy thử chạy
certbot certonly --manual -d example.com -d www.example.com
link https://community.letsencrypt.org/t/how-do-i-generate-the-lets-encrypt-certificate-and-key-on-my-own-device-more-info-inside/27510/2
0 nhận xét:
Đăng nhận xét