Ver Fonte

Change CM link

Herman Slatman há 4 anos atrás
pai
commit
5b713a564c
2 ficheiros alterados com 6 adições e 6 exclusões
  1. 3 3
      authority/admin/api/acme.go
  2. 3 3
      authority/admin/api/acme_test.go

+ 3 - 3
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"))
 }

+ 3 - 3
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",
 				},
 			}