using certbot code example
Example 1: certbot command
certbot certonly --webroot -w /var/www/example -d www.example.com -d example.com -w /var/www/other -d other.example.net -d another.other.example.net
Example 2: certbot
sudo snap install --classic certbot