add support for cert with password

This commit is contained in:
Luke Pulverenti
2017-04-30 22:22:13 -04:00
parent c197360047
commit dbfb1fb370
7 changed files with 40 additions and 20 deletions

View File

@@ -159,9 +159,9 @@ namespace MediaBrowser.Server.Mono
Task.WaitAll(task);
}
private static void GenerateCertificate(string certPath, string certHost)
private static void GenerateCertificate(string certPath, string certHost, string certPassword)
{
CertificateGenerator.CreateSelfSignCertificatePfx(certPath, certHost, _logger);
CertificateGenerator.CreateSelfSignCertificatePfx(certPath, certHost, certPassword, _logger);
}
private static MonoEnvironmentInfo GetEnvironmentInfo()