From 5b713a564c0079826e7aac611cb1b3207135c8f0 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Thu, 10 Feb 2022 12:55:47 +0100 Subject: [PATCH] Change CM link --- authority/admin/api/acme.go | 6 +++--- authority/admin/api/acme_test.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/authority/admin/api/acme.go b/authority/admin/api/acme.go index 70172706..27c3ba6f 100644 --- a/authority/admin/api/acme.go +++ b/authority/admin/api/acme.go @@ -101,15 +101,15 @@ func NewACMEAdminResponder() *ACMEAdminResponder { // GetExternalAccountKeys writes the response for the EAB keys GET endpoint 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 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 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")) } diff --git a/authority/admin/api/acme_test.go b/authority/admin/api/acme_test.go index ea0fabef..6ffe1418 100644 --- a/authority/admin/api/acme_test.go +++ b/authority/admin/api/acme_test.go @@ -445,7 +445,7 @@ func TestHandler_CreateExternalAccountKey(t *testing.T) { err: &admin.Error{ Type: admin.ErrorNotImplementedType.String(), 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", }, } @@ -498,7 +498,7 @@ func TestHandler_DeleteExternalAccountKey(t *testing.T) { err: &admin.Error{ Type: admin.ErrorNotImplementedType.String(), 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", }, } @@ -552,7 +552,7 @@ func TestHandler_GetExternalAccountKeys(t *testing.T) { err: &admin.Error{ Type: admin.ErrorNotImplementedType.String(), 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", }, }