Skip to content

Commit

Permalink
Painful oopsie :)
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterTinus committed Aug 4, 2017
1 parent 62d7b91 commit c6220a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letsencrypt-win-simple/Plugin/ManualPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public override void HandleMenuResponse(string response, List<Target> targets)
allNames.AddRange(sanList ?? new List<string>());
allNames = allNames.Where(x => !string.IsNullOrWhiteSpace(x)).Select(x => x.Trim()).Distinct().ToList();

if (allNames.Count < Settings.maxNames)
if (allNames.Count > Settings.maxNames)
{
Log.Error($"You entered too many hosts for a San certificate. Let's Encrypt currently has a maximum of {Settings.maxNames} alternative names per certificate.");
return;
Expand Down

0 comments on commit c6220a4

Please sign in to comment.