2016-10-10 03:01:49 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
letsencrypt certonly --webroot -w /var/www/letsencrypt -d "$CN" --agree-tos --email "$EMAIL" --non-interactive --text
|
|
|
|
|
2020-09-29 07:36:48 +02:00
|
|
|
cp /etc/letsencrypt/archive/"$CN"/cert1.pem /var/certs/"$CN"-cert1.pem
|
|
|
|
cp /etc/letsencrypt/archive/"$CN"/privkey1.pem /var/certs/"$CN"-privkey1.pem
|
|
|
|
|