1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

fixing the letsencrypt cert generation command in the powershell command (#1102)

This commit is contained in:
Joseph Flinn
2021-01-20 15:33:00 -08:00
committed by GitHub
parent 48d14e8521
commit 5059e0a693

View File

@ -64,8 +64,8 @@ function Install() {
$certbotExp = "docker run -it --rm --name certbot -p ${certbotHttpsPort}:443 -p ${certbotHttpPort}:80 " +`
"-v ${outputDir}/letsencrypt:/etc/letsencrypt/ certbot/certbot " +`
"certonly{0} --standalone --noninteractive --agree-tos --preferred-challenges http " +`
"--email ${email} -d ${domain} --logs-dir /etc/letsencrypt/logs" -f $qFlag
Invoke-Expression $certbotExp
"--email ${email} -d ${domain} --logs-dir /etc/letsencrypt/logs"
Invoke-Expression ($certbotExp -f $qFlag)
}
}