File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,16 +196,16 @@ else
196196 echo " fail" > /tmp/le_test
197197fi
198198}
199- certonly () {
200- if eval " certbot certonly $default_le "
199+ dns () {
200+ if eval " certbot --manual --preferred-challenges dns certonly $default_le "
201201then
202202 echo " success" > /tmp/le_test
203203else
204204 echo " fail" > /tmp/le_test
205205fi
206206}
207207
208- methods=(standalone webroot certonly )
208+ methods=(standalone webroot dns )
209209
210210create_config () {
211211# $1 = method
@@ -234,7 +234,7 @@ elif [ "$method" == "webroot" ]
234234then
235235 printf " ${ICyan} It seems like no certs were generated, we will do 1 more try.${Color_Off} \n"
236236 any_key " Press any key to continue..."
237- elif [ " $method " == " certonly " ]
237+ elif [ " $method " == " dns " ]
238238then
239239 printf " ${ICyan} It seems like no certs were generated, we will do 0 more tries.${Color_Off} \n"
240240 any_key " Press any key to continue..."
You can’t perform that action at this time.
0 commit comments