You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
-
* Support SNI and enable cert name verification.
1
+
#### 2.0.0
2
+
2
3
* Require Ruby 2.4
4
+
* Support SNI and enable cert name verification by default. **This changes the default behavior** and may cause issues if the remote server's cert does not match the configured hostname.
5
+
* Add `verify_cert_name` to enable (default) or disable cert name verification.
6
+
Note: `ca_cert` verifies the certificate signing chain. `verify_cert_name` verifies the CN/SAN name on the cert.
Copy file name to clipboardExpand all lines: docs/configuration.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,16 @@ If a given tag has gone this many seconds between log messages, disconnect and r
21
21
22
22
### ca_cert
23
23
24
-
Whether and how to verify the server's TLS certificate. Examples:
24
+
Whether and how to verify the server's TLS certificate signing chain. Examples:
25
25
* ca_cert system - Default; use the system CA certificate store (which must then be configured correctly)
26
26
* ca_cert false - Disable verification; not recommended
27
27
* ca_cert /path/to/file - A path+filename to a single CA file
28
28
* ca_cert /path/to/dir/ - A directory of CA files (in format that OpenSSL can parse); must end with /
29
29
30
+
### verify_cert_name
31
+
32
+
Whether to verify that the server's cert matches `host`. Enabled by default (except when `ca_cert false`). Recommended; helps prevent MitM attacks. Example: `true`
33
+
30
34
### token
31
35
32
36
Some services require a token to identify the account. Example: `ABABABABABABA@99999`. Not required for Papertrail.
@@ -114,6 +118,7 @@ Optionally record key where to get msgid from the record. If not provided nil va
0 commit comments