Add initial support for check-host endpoint.

This commit is contained in:
Mariano Cano 2019-10-10 13:08:57 -07:00 committed by max furman
parent d08db4df23
commit 37f17213bb
6 changed files with 170 additions and 4 deletions

View file

@ -256,6 +256,7 @@ func (h *caHandler) Route(r Router) {
r.MethodFunc("GET", "/ssh/federation", h.SSHFederation)
r.MethodFunc("POST", "/ssh/config", h.SSHConfig)
r.MethodFunc("POST", "/ssh/config/{type}", h.SSHConfig)
r.MethodFunc("POST", "/ssh/check-host", h.SSHCheckHost)
// For compatibility with old code:
r.MethodFunc("POST", "/re-sign", h.Renew)