1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-31 20:35:37 +00:00

Fixed sslcert registration arguments

This commit is contained in:
Mark McDowall 2013-09-26 14:07:39 -07:00
parent 377a32e5e6
commit dbc0c2021e

View file

@ -36,7 +36,12 @@ public void Register()
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);
}