Skip to content

Commit

Permalink
Merge pull request elastic#265 from urso/enh/240-tls-insecure-option
Browse files Browse the repository at this point in the history
test tls insecure option for logstash output
  • Loading branch information
ruflin committed Nov 9, 2015
2 parents df128d4 + a80b383 commit cdbdc6c
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 174 deletions.
51 changes: 51 additions & 0 deletions outputs/logstash/ca_invalid_test.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-----BEGIN RSA PRIVATE KEY-----
MIIJJwIBAAKCAgEArhcGQkUS9v6aPeePxSOop/rh+Lc/IEW1NQE80lFJ6d6yFiN2
kX0VHZsWUhsH86vjE7sDk+Uu82oNCOjc+Zq14jK0Z0ISzhdTsvryJ8paMb/Bn2bk
szEBvE57e6DKF+hJuITW6RJKASaU4FIBNkWsE16bIOgM1HZXNX+yESFc0w3OUCO7
nNv3FBfyLS2x52sjKIZLc5RVqeC7F344OdRp6QVZzQsM1pMWsTd8Xalpj1H1aOsm
74WkHyYLthB4mV9g+arTvWBVafNDAXftFu1TmLMGm8ILduqQURxGasOPoNoEF5J4
Rnhlp9AerB15haKdANls0X+htEy+1mnV5nsFodAsj0ZQ9ReETNkPMdHudXCrF9hh
JeBkFE3+O7059qJZH4u73opXQYFhOi/M7fpupWVmByzKkvvU8NmcCgtgtrWUlkxP
aLtoxF6JSjghuAmv9VKMLFNrHEcC9SDA8g7JcPRogGQowEOca7i9MkeKvO+BZAHR
qHHhHr/9TQ8Fym9IyR/vQZUe9ue4aNsWqsBjHhTlDKqtfMvL7/bT+h+f9+Y26CET
kfaz0WFPfwOY5jYaA6xfU6BiYJXwFHfWgV63cG+RolUIPNmV0hl2uMpk22QsTsOJ
9kIihXizh2X7aO+2ol+doxZq0jis+1pJaLtTV5/FOGa5Fx1pCys44O/No+ECAwEA
AQKCAgAnVzio3Sct/dcpShzpNee1HjLWm8J+LoKGmeL+vDPxz8t6yUTQF+4fpJ5k
q4see6dzG/3w/AeiJkMP0l+tYFLd7Qtrkjjhrc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TawPLVViIUdEGIF
5dbOMHFch/Nz0hrr08azZf+JJ7b+40q3uCCLUleP7PA19Ye1EqVsHyX1oXhpWAWR
OT5c/DX61DT3PAZytyDmQh6G46vMMtaDXbwDbSA5rIglZgTlBoOMwR4qOzFOope4
cBO55H8mNu/SeC36QaxJiFMeOnBo2FW3oSt0mZOb/EHlzwetGq3SO9zy5g==
-----END RSA PRIVATE KEY-----
31 changes: 31 additions & 0 deletions outputs/logstash/ca_invalid_test.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFXTCCA0WgAwIBAgIQCYZiCOjXqDaqWrOaCNv+JDANBgkqhkiG9w0BAQ0FADAv
MQswCQYDVQQGEwJVUzEQMA4GA1UEChMHZWxhc3RpYzEOMAwGA1UECxMFYmVhdHMw
HhcNMTUxMTA0MTUwMTM0WhcNMjUxMTA0MTUwMTM0WjAvMQswCQYDVQQGEwJVUzEQ
MA4GA1UEChMHZWxhc3RpYzEOMAwGA1UECxMFYmVhdHMwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQCuFwZCRRL2/po954/FI6in+uH4tz8gRbU1ATzSUUnp
3rIWI3aRfRUdmxZSGwfzq+MTuwOT5S7zag0I6Nz5mrXiMrRnQhLOF1Oy+vInylox
v8GfZuSzMQG8Tnt7oMoX6Em4hNbpEkoBJpTgUgE2RawTXpsg6AzUdlc1f7IRIVzT
Dc5QI7uc2/cUF/ItLbHnayMohktzlFWp4LsXfjg51GnpBVnNCwzWkxaxN3xdqWmP
UfVo6ybvhaQfJgu2EHiZX2D5qtO9YFVp80MBd+0W7VOYswabwgt26pBRHEZqw4+g
2gQXknhGeGWn0B6sHXmFop0A2WzRf6G0TL7WadXmewWh0CyPRlD1F4RM2Q8x0e51
cKsX2GEl4GQUTf47vTn2olkfi7veildBgWE6L8zt+m6lZWYHLMqS+9Tw2ZwKC2C2
tZSWTE9ou2jEXolKOCG4Ca/1UowsU2scRwL1IMDyDslw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