🛡️ A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH.
This commit avoids an error starting the CA if the http.DefaultTransport is not an *http.Transport. If the DefaultTransport is overwritten, the newHTTPClient method will return a simple http.Client. With an http.Transport, it will return a client that trusts the system certificate pool and the CA roots.
Description
This commit avoids an error starting the CA if the
http.DefaultTransport
is not an*http.Transport
. If the DefaultTransport is overwritten, the newHTTPClient method will return a simple http.Client. With an http.Transport, it will return a client that trusts the system certificate pool and the CA roots.