Fixed sslcert registration arguments

This commit is contained in:
Mark McDowall 2013-09-26 14:07:39 -07:00
parent 377a32e5e6
commit dbc0c2021e
1 changed files with 6 additions and 1 deletions

View File

@ -36,7 +36,12 @@ namespace NzbDrone.Host.AccessControl
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);
}