Skip to content

Commit

Permalink
WFE: Include profile name in returned Order json
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongable committed Jul 24, 2024
1 parent 6b484f4 commit b6e94bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/config-next/wfe2.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
"CheckRenewalExemptionAtWFE": true
},
"certProfiles": {
"defaultBoulderCertificateProfile": "The normal profile you know and love"
"legacy": "The normal profile you know and love",
"modern": "Profile 2: Electric Boogaloo"
}
},
"syslog": {
Expand Down
1 change: 1 addition & 0 deletions wfe2/wfe.go
Original file line number Diff line number Diff line change
Expand Up @@ -1990,6 +1990,7 @@ func (wfe *WebFrontEndImpl) orderToOrderJSON(request *http.Request, order *corep
Expires: order.Expires.AsTime(),
Identifiers: idents,
Finalize: finalizeURL,
Profile: order.CertificateProfileName,
}
// If there is an order error, prefix its type with the V2 namespace
if order.Error != nil {
Expand Down

0 comments on commit b6e94bc

Please sign in to comment.