Skip to content

Commit

Permalink
Fixing SAN cert Common Name
Browse files Browse the repository at this point in the history
For SAN, the common name of the cert was the site's name. If the site's
name wasn't one of the authorized hosts, or wasn't a DNS name, it
failed.
  • Loading branch information
rkerber committed Feb 5, 2016
1 parent 7597c90 commit 719f7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letsencrypt-win-simple/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ public static string GetCertificate(Target binding)
var rsaKeys = cp.GeneratePrivateKey(rsaPkp);
var csrDetails = new CsrDetails
{
CommonName = dnsIdentifier,
CommonName = allDnsIdentifiers[0],
};
if(SANList != null)
{
Expand Down

0 comments on commit 719f7e7

Please sign in to comment.