forked from TrueCloudLab/certificates
Change CM link
This commit is contained in:
parent
d00729df0b
commit
5b713a564c
2 changed files with 6 additions and 6 deletions
|
@ -101,15 +101,15 @@ func NewACMEAdminResponder() *ACMEAdminResponder {
|
||||||
|
|
||||||
// GetExternalAccountKeys writes the response for the EAB keys GET endpoint
|
// GetExternalAccountKeys writes the response for the EAB keys GET endpoint
|
||||||
func (h *ACMEAdminResponder) GetExternalAccountKeys(w http.ResponseWriter, r *http.Request) {
|
func (h *ACMEAdminResponder) GetExternalAccountKeys(w http.ResponseWriter, r *http.Request) {
|
||||||
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm"))
|
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"))
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateExternalAccountKey writes the response for the EAB key POST endpoint
|
// CreateExternalAccountKey writes the response for the EAB key POST endpoint
|
||||||
func (h *ACMEAdminResponder) CreateExternalAccountKey(w http.ResponseWriter, r *http.Request) {
|
func (h *ACMEAdminResponder) CreateExternalAccountKey(w http.ResponseWriter, r *http.Request) {
|
||||||
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm"))
|
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"))
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeleteExternalAccountKey writes the response for the EAB key DELETE endpoint
|
// DeleteExternalAccountKey writes the response for the EAB key DELETE endpoint
|
||||||
func (h *ACMEAdminResponder) DeleteExternalAccountKey(w http.ResponseWriter, r *http.Request) {
|
func (h *ACMEAdminResponder) DeleteExternalAccountKey(w http.ResponseWriter, r *http.Request) {
|
||||||
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm"))
|
api.WriteError(w, admin.NewError(admin.ErrorNotImplementedType, "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm"))
|
||||||
}
|
}
|
||||||
|
|
|
@ -445,7 +445,7 @@ func TestHandler_CreateExternalAccountKey(t *testing.T) {
|
||||||
err: &admin.Error{
|
err: &admin.Error{
|
||||||
Type: admin.ErrorNotImplementedType.String(),
|
Type: admin.ErrorNotImplementedType.String(),
|
||||||
Status: http.StatusNotImplemented,
|
Status: http.StatusNotImplemented,
|
||||||
Message: "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm",
|
Message: "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm",
|
||||||
Detail: "not implemented",
|
Detail: "not implemented",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -498,7 +498,7 @@ func TestHandler_DeleteExternalAccountKey(t *testing.T) {
|
||||||
err: &admin.Error{
|
err: &admin.Error{
|
||||||
Type: admin.ErrorNotImplementedType.String(),
|
Type: admin.ErrorNotImplementedType.String(),
|
||||||
Status: http.StatusNotImplemented,
|
Status: http.StatusNotImplemented,
|
||||||
Message: "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm",
|
Message: "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm",
|
||||||
Detail: "not implemented",
|
Detail: "not implemented",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -552,7 +552,7 @@ func TestHandler_GetExternalAccountKeys(t *testing.T) {
|
||||||
err: &admin.Error{
|
err: &admin.Error{
|
||||||
Type: admin.ErrorNotImplementedType.String(),
|
Type: admin.ErrorNotImplementedType.String(),
|
||||||
Status: http.StatusNotImplemented,
|
Status: http.StatusNotImplemented,
|
||||||
Message: "this functionality is currently only available in Certificate Manager: https://smallstep.com/signup?product=cm",
|
Message: "this functionality is currently only available in Certificate Manager: https://u.step.sm/cm",
|
||||||
Detail: "not implemented",
|
Detail: "not implemented",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue