[root scripts]#./letsencrypt.sh renew your.hostname.com 4096
Setting up certificate for a hostname: your.hostname.com
Getting challenge for your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for
www.your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for mail.your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for ftp.your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for pop.your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for smtp.your.hostname.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Generating 4096 bit RSA key for your.hostname.com...
openssl genrsa 4096 > "/usr/local/directadmin/conf/cakey.pem.new"
Generating RSA private key, 4096 bit long modulus
..........................++
..............................................++
e is 65537 (0x10001)
DirectAdmin certificate has been setup.
Setting up cert for Exim...
Setting up cert for WWW server...
Setting up cert for FTP server...
The services will be retarted in about 1 minute via the dataskq.
Certificate for your.hostname.com has been created successfully!