Closed
Description
Hello,
I am attempting to recreate HTTPS request. When we issue curl request it looks like this...
curl --tlsv1.2 -n -k https://hostname:port/restendpoint
I configured httpbeat.yml, see below
basic_auth:
username: username
password: password
#Optional ssl configuration. By default is off.
ssl:
#List of root certificates for HTTPS server verifications
#certificate_authorities: ["/etc/pki/root/ca.pem"]
#Certificate for TLS client authentication
#certificate: "/etc/pki/client/cert.pem"
# Client Certificate Key
#key: "/etc/pki/client/cert.key"
#This option controls whether the client verifies server certificates and host
#names. The values `none` and `full` can be used. If `verification_mode` is set
#to `none`, all server host names and certificates are accepted. In this mode,
#TLS-based connections are susceptible to man-in-the-middle attacks. Use this
#option for testing only.
#The default is `full`.
verification_mode: none
#Configure cipher suites to be used for TLS connections
#cipher_suites: []
#Configure curve types for ECDHE based cipher suites
#curve_types: []
#List of allowed SSL/TLS versions. If SSL/TLS server decides for protocol versions
#not configured, the connection will be dropped during or after the handshake. The
#setting is a list of allowed protocol versions:
#`SSLv3`, `TLSv1` for TLS version 1.0, `TLSv1.0`, `TLSv1.1` and `TLSv1.2`.
#The default value is `[TLSv1.0, TLSv1.1, TLSv1.2]`.
versions: [TLSv1.2]
I am sending directly to elasticsearch and also output to file but no data has being written to either.
I only get this INFO message in log.
2017/01/06 19:56:03.162631 logp.go:232: INFO No non-zero metrics in the last 30s
Any help would be appreciated!
Thanks