File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -306,9 +306,9 @@ function Import-Certificate() {
306
306
param (
307
307
[parameter(Mandatory=$true)]
308
308
[string]$CertificatePath,
309
- [parameter(Mandatory=$true )]
309
+ [parameter(Mandatory=$false )]
310
310
[System.Security.Cryptography.X509Certificates.StoreLocation]$StoreLocation="LocalMachine",
311
- [parameter(Mandatory=$true )]
311
+ [parameter(Mandatory=$false )]
312
312
[System.Security.Cryptography.X509Certificates.StoreName]$StoreName="TrustedPublisher"
313
313
)
314
314
PROCESS
@@ -412,7 +412,7 @@ function Install-Runner() {
412
412
413
413
if($PEMData.Trim().Length -gt 0){
414
414
Set-Content $env:TMP\garm-ca.pem $PEMData
415
- Import-Certificate -CertificatePath $env:TMP\garm-ca.pem
415
+ Import-Certificate -CertificatePath $env:TMP\garm-ca.pem -StoreName Root -StoreLocation LocalMachine
416
416
}
417
417
418
418
Update-GarmStatus -CallbackURL $CallbackURL -Message "downloading tools from $DownloadURL"
You can’t perform that action at this time.
0 commit comments