Skip to content

Commit

Permalink
Fix missing CommonName in subject generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Feb 18, 2018
1 parent 9b8dfd4 commit fbcad15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/logical/pki/cert_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ func generateCreationBundle(b *backend, data *dataBundle) error {
}

subject := pkix.Name{
CommonName: cn,
Country: strutil.RemoveDuplicates(data.role.Country, false),
Organization: strutil.RemoveDuplicates(data.role.Organization, false),
OrganizationalUnit: strutil.RemoveDuplicates(data.role.OU, false),
Expand Down

0 comments on commit fbcad15

Please sign in to comment.