Advertisement
Justman10000

SSL Certificates with certbot

Apr 3rd, 2023 (edited)
1,047
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. systemctl stop apache2
  2. certbot certonly --authenticator standalone -d yourdomain # For common domains (example.com)
  3. certbot certonly --manual --preferred-challenges=dns -d *.yourdomain # For wildcard domains (*.example.com)
  4. systemctl start apache2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement