Merge pull request #4 from vikas5914/patch-1

Add Missing keylength value for subdomain
This commit is contained in:
VirtuBox 2019-01-28 12:45:18 +01:00 committed by GitHub
commit c20e22c7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ if [ ! -d $HOME/.acme.sh/${domain_name}_ecc ] || [ ! -f /etc/letsencrypt/live/${
if [ $domain_type = "domain" ]; then
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -d www.${domain_name} -k ec-384 --standalone --pre-hook "service nginx stop " --post-hook "service nginx start"
elif [ "$domain_type" = "subdomain" ]; then
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -k --standalone --pre-hook "service nginx stop " --post-hook "service nginx start"
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -k ec-384 --standalone --pre-hook "service nginx stop " --post-hook "service nginx start"
elif [ "$domain_type" = "wildcard" ]; then
echo "standalone mode do not support wildcard certificates"
exit 1