Add serial_number back to path_issue_sign responses in PKI

This commit is contained in:
Jeff Mitchell 2016-03-08 09:25:48 -05:00
parent 360ae8b20f
commit 34a9cb1a70
1 changed files with 3 additions and 2 deletions

View File

@ -171,8 +171,9 @@ func (b *backend) pathIssueSignCert(
resp := b.Secret(SecretCertsType).Response(
map[string]interface{}{
"certificate": cb.Certificate,
"issuing_ca": cb.IssuingCA,
"certificate": cb.Certificate,
"issuing_ca": cb.IssuingCA,
"serial_number": cb.SerialNumber,
},
map[string]interface{}{
"serial_number": cb.SerialNumber,