Add example with custom CA (#289)
authormprasil <mprasil@users.noreply.github.com>
Fri, 26 Jan 2018 10:01:06 +0000 (10:01 +0000)
committerBrian Brazil <brian.brazil@robustperception.io>
Fri, 26 Jan 2018 10:01:06 +0000 (10:01 +0000)
example.yml

index 7d09cf7161d2719769c5040d372782127adf5308..66c91fccd2a5619183507f30e02acb76af8efbf3 100644 (file)
@@ -37,6 +37,12 @@ modules:
       basic_auth:
         username: "username"
         password: "mysecret"
+  http_custom_ca_example:
+    prober: http
+    http:
+      method: GET
+      tls_config:
+        ca_file: "/certs/my_cert.crt"
   tls_connect:
     prober: tcp
     timeout: 5s