@@ -235,11 +235,12 @@ public static ActionResult InstallCA(Session session)
235235 if ( session . CustomActionData [ "GENERATESSL" ] == "1" )
236236 {
237237 var siteId = GetSiteId ( uiName ) ;
238- RunProcess ( Path . Combine ( installFolder , "letsencrypt\\ letsencrypt.exe" ) , $ "--plugin iissite --siteid { siteId } --accepttos --usedefaulttaskuser") ;
238+ var email = session . CustomActionData [ "EMAIL" ] ;
239+ RunProcess ( Path . Combine ( installFolder , "letsencrypt\\ letsencrypt.exe" ) , $ "--plugin iissite --siteid { siteId } --emailaddress { email } --accepttos --usedefaulttaskuser") ;
239240 }
240241
241- CongigureSecurity ( clientLocation ) ;
242- CongigureSecurity ( webApiLocation ) ;
242+ ConfigureSecurity ( clientLocation ) ;
243+ ConfigureSecurity ( webApiLocation ) ;
243244 //DeleteDirectory(Path.Combine(installFolder, "letsencrypt"));
244245 IncrementProgressBar ( session ) ;
245246
@@ -348,8 +349,8 @@ public static ActionResult UpdateCA(Session session)
348349 ControlSites ( customerNumber , domain , apiPort , uiPort , true ) ;
349350 IncrementProgressBar ( session ) ;
350351
351- CongigureSecurity ( uiIisDir ) ;
352- CongigureSecurity ( webApiLocation ) ;
352+ ConfigureSecurity ( uiIisDir ) ;
353+ ConfigureSecurity ( webApiLocation ) ;
353354
354355 DeleteDirectory ( apiTemp ) ;
355356 DeleteDirectory ( clientTemp ) ;
@@ -510,7 +511,7 @@ private static void RenameFolders(string location, string apiName, string uiName
510511 DeleteDirectory ( Path . Combine ( location , "eform-client" ) ) ;
511512 }
512513
513- public static void CongigureSecurity ( string folder )
514+ public static void ConfigureSecurity ( string folder )
514515 {
515516 using ( var powershell = PowerShell . Create ( ) )
516517 {
0 commit comments