mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-22 19:21:09 +01:00
Fix missing CommonName in subject generation
This commit is contained in:
parent
9b8dfd43fa
commit
fbcad150aa
@ -842,6 +842,7 @@ func generateCreationBundle(b *backend, data *dataBundle) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subject := pkix.Name{
|
subject := pkix.Name{
|
||||||
|
CommonName: cn,
|
||||||
Country: strutil.RemoveDuplicates(data.role.Country, false),
|
Country: strutil.RemoveDuplicates(data.role.Country, false),
|
||||||
Organization: strutil.RemoveDuplicates(data.role.Organization, false),
|
Organization: strutil.RemoveDuplicates(data.role.Organization, false),
|
||||||
OrganizationalUnit: strutil.RemoveDuplicates(data.role.OU, false),
|
OrganizationalUnit: strutil.RemoveDuplicates(data.role.OU, false),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user