#!/bin/bash

DOMAIN="control.lastcharter24.ir"

if command -v certbot >/dev/null 2>&1
then

certbot certonly \
--webroot \
-w /home/lastchar/public_html \
-d $DOMAIN

else

echo "CERTBOT NOT INSTALLED - USE CPANEL SSL"

fi

