From 34a9cb1a7090c2ae29c5aaea233bdd3059ac95f7 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 8 Mar 2016 09:25:48 -0500 Subject: [PATCH] Add serial_number back to path_issue_sign responses in PKI --- builtin/logical/pki/path_issue_sign.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builtin/logical/pki/path_issue_sign.go b/builtin/logical/pki/path_issue_sign.go index 9d523ffcc..9d7a81984 100644 --- a/builtin/logical/pki/path_issue_sign.go +++ b/builtin/logical/pki/path_issue_sign.go @@ -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,