#!/bin/bash if [ "$*" == "" ]; then echo ":: Error: No certificate given" exit 1 fi yes "$*"|certbot certonly --standalone