Change CM link

This commit is contained in:
Herman Slatman 2022-02-10 12:55:47 +01:00
parent d00729df0b
commit 5b713a564c
No known key found for this signature in database
GPG key ID: F4D8A44EA0A75A4F
2 changed files with 6 additions and 6 deletions

View file

@ -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"))
} }

View file

@ -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",
}, },
} }