Imports github.com/stretchr/testify/require github.com/elastic/beats/heartbeat/monitors/wrappers github.com/elastic/beats/libbeat/common/x509util github.com/elastic/go-lookslike/isdef github.com/elastic/go-lookslike github.com/elastic/go-lookslike/validator Standard library imports crypto/x509 fmt io io/ioutil net/http net/url os strconv strings testing net/http/httptest