mirror of
https://github.com/Radarr/Radarr
synced 2025-01-18 21:52:10 +00:00
Fixed sslcert registration arguments
This commit is contained in:
parent
377a32e5e6
commit
dbc0c2021e
1 changed files with 6 additions and 1 deletions
|
@ -36,7 +36,12 @@ public void Register()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var arguments = String.Format("netsh http add sslcert ipport=0.0.0.0:{0} certhash={1} appid={{{2}}}", _configFileProvider.SslPort, _configFileProvider.SslCertHash, APP_ID);
|
var arguments = String.Format("http add sslcert ipport=0.0.0.0:{0} certhash={1} appid={{{2}}}",
|
||||||
|
_configFileProvider.SslPort,
|
||||||
|
_configFileProvider.SslCertHash,
|
||||||
|
APP_ID);
|
||||||
|
|
||||||
|
//TODO: Validate that the cert was added properly, invisible spaces FTL
|
||||||
_netshProvider.Run(arguments);
|
_netshProvider.Run(arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue