secretsmgr: sign also for bare hostname
This commit is contained in:
parent
33bd6faf1c
commit
429b4ce984
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func hostname() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func defaultPrincipals(hostname string) string {
|
func defaultPrincipals(hostname string) string {
|
||||||
return fmt.Sprintf("%s.as205479.net,%s.int.as205479.net", hostname, hostname)
|
return fmt.Sprintf("%s,%s.as205479.net,%s.int.as205479.net", hostname, hostname, hostname)
|
||||||
}
|
}
|
||||||
|
|
||||||
func sshHostKeyPaths(ctx context.Context) ([]string, error) {
|
func sshHostKeyPaths(ctx context.Context) ([]string, error) {
|
||||||
|
|
Loading…
Reference in a new issue