diff options
author | elijah <elijah@riseup.net> | 2013-05-15 12:41:53 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-05-15 12:41:53 -0700 |
commit | 37130be91eb463ddd8a626091cb49a09a15bfbc2 (patch) | |
tree | 2a2fb8ea33ebe44a768fff909ef10b3e2bf86d60 | |
parent | 8745623de73988594f0cc3826bb24a4857321c20 (diff) |
certs - include all possible domains in subaltname, including one in commonname.
-rw-r--r-- | lib/leap_cli/commands/ca.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/ca.rb b/lib/leap_cli/commands/ca.rb index 2df7c97..da5bee9 100644 --- a/lib/leap_cli/commands/ca.rb +++ b/lib/leap_cli/commands/ca.rb @@ -372,12 +372,11 @@ module LeapCli; module Commands end def dns_names_for_node(node) - names = [node.domain.internal] + names = [node.domain.internal, node.domain.full] if node['dns'] && node.dns['aliases'] && node.dns.aliases.any? names += node.dns.aliases names.compact! end - names.delete(node.domain.full) # already set to common name return names end |