1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00

stage testing letsencrypt

This commit is contained in:
Kyle Spearrin
2017-08-21 11:35:09 -04:00
parent 437422ca60
commit 5fe587ea9f
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ if($domain -ne "localhost") {
New-Item -ItemType directory -Path $letsEncryptPath | Out-Null
}
docker run -it --rm --name certbot -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot `
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain
certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain `
--logs-dir $outputDir/letsencrypt/logs --staging
}
}