File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,16 +196,16 @@ else
196
196
echo " fail" > /tmp/le_test
197
197
fi
198
198
}
199
- certonly () {
200
- if eval " certbot certonly $default_le "
199
+ dns () {
200
+ if eval " certbot --manual --preferred-challenges dns certonly $default_le "
201
201
then
202
202
echo " success" > /tmp/le_test
203
203
else
204
204
echo " fail" > /tmp/le_test
205
205
fi
206
206
}
207
207
208
- methods=(standalone webroot certonly )
208
+ methods=(standalone webroot dns )
209
209
210
210
create_config () {
211
211
# $1 = method
@@ -234,7 +234,7 @@ elif [ "$method" == "webroot" ]
234
234
then
235
235
printf " ${ICyan} It seems like no certs were generated, we will do 1 more try.${Color_Off} \n"
236
236
any_key " Press any key to continue..."
237
- elif [ " $method " == " certonly " ]
237
+ elif [ " $method " == " dns " ]
238
238
then
239
239
printf " ${ICyan} It seems like no certs were generated, we will do 0 more tries.${Color_Off} \n"
240
240
any_key " Press any key to continue..."
You can’t perform that action at this time.
0 commit comments