|
|
@ -250,7 +250,7 @@ func (h *caHandler) Route(r Router) {
|
|
|
|
r.MethodFunc("GET", "/roots", h.Roots)
|
|
|
|
r.MethodFunc("GET", "/roots", h.Roots)
|
|
|
|
r.MethodFunc("GET", "/federation", h.Federation)
|
|
|
|
r.MethodFunc("GET", "/federation", h.Federation)
|
|
|
|
// SSH CA
|
|
|
|
// SSH CA
|
|
|
|
r.MethodFunc("GET", "/ssh/sign", h.SignSSH)
|
|
|
|
r.MethodFunc("POST", "/ssh/sign", h.SignSSH)
|
|
|
|
r.MethodFunc("GET", "/ssh/keys", h.SSHKeys)
|
|
|
|
r.MethodFunc("GET", "/ssh/keys", h.SSHKeys)
|
|
|
|
|
|
|
|
|
|
|
|
// For compatibility with old code:
|
|
|
|
// For compatibility with old code:
|
|
|
|