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

Added force renew certificate (#781)

This commit is contained in:
dcertskc
2020-06-17 08:05:35 -05:00
committed by GitHub
parent 48d166e80e
commit 5977803e3b
4 changed files with 55 additions and 0 deletions

View File

@ -6,6 +6,7 @@ param (
[switch] $update,
[switch] $rebuild,
[switch] $updateconf,
[switch] $renewcert,
[switch] $updatedb,
[switch] $updaterun,
[switch] $updateself,
@ -64,6 +65,7 @@ Available commands:
-updaterun
-updateself
-updateconf
-renewcert
-rebuild
-help
@ -137,6 +139,10 @@ elseif ($stop) {
Check-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -stop -outputDir `"$output`" -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($renewcert) {
Check-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -renewcert -outputDir `"$output`" -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($updaterun) {
Check-Output-Dir-Exists
Download-Run-File