Fix a bug introduced in 81fa97f
and make ./start.sh work
This commit is contained in:
parent
dbff11ed2f
commit
63ca50229d
|
@ -46,7 +46,7 @@
|
||||||
"issuerCert": "test/test-ca.pem",
|
"issuerCert": "test/test-ca.pem",
|
||||||
"_comment": "This should only be present in testMode. In prod use an HSM.",
|
"_comment": "This should only be present in testMode. In prod use an HSM.",
|
||||||
"issuerKey": "test/test-ca.key",
|
"issuerKey": "test/test-ca.key",
|
||||||
"expiry": "8760h",
|
"expiry": "2160h",
|
||||||
"maxNames": 1000
|
"maxNames": 1000
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
"sql": {
|
"sql": {
|
||||||
"SQLDebug": true,
|
"SQLDebug": true,
|
||||||
"CreateTables": false
|
"CreateTables": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"revoker": {
|
"revoker": {
|
||||||
|
|
|
@ -575,7 +575,7 @@ func (wfe *WebFrontEndImpl) Registration(response http.ResponseWriter, request *
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ask the RA to update this authorization.
|
// Ask the RA to update this authorization.
|
||||||
updatedReg, err := wfe.RA.UpdateRegistration(currReg, currReg)
|
updatedReg, err := wfe.RA.UpdateRegistration(currReg, update)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
wfe.sendError(response, "Unable to update registration", err, statusCodeFromError(err))
|
wfe.sendError(response, "Unable to update registration", err, statusCodeFromError(err))
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue