Commit Graph

384 Commits

Author SHA1 Message Date
Gerhard Lazu 1129d23944 Update erlang.mk 2020-03-06 09:18:39 +00:00
Jean-Sébastien Pédron e544c04d99 Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:33 +01:00
Jean-Sébastien Pédron e8a010411d Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:19 +01:00
Jean-Sébastien Pédron 2529e56797 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:42 +01:00
Michael Klishin c9de5658c3 Avoid using erlang:get_stacktrace/0 for improved OTP 23/24 compat 2020-02-27 22:33:22 +03:00
Gerhard Lazu d7afea5192 Update rabbitmq-components.mk 2020-02-11 15:31:50 +00:00
Michael Klishin a03303941a (c) bump 2019-12-29 05:50:37 +03:00
Michael Klishin 9da275e9d7 Make sure to update certificate store even after fetching no certificates
Otherwise certificates would not be expelled from the store.
Caught by a system_SUITE test.
2019-12-17 03:10:41 +03:00
Michael Klishin 0090cfe65f Correct log message formatting 2019-12-17 03:02:39 +03:00
Michael Klishin a80d06346b Be more defensive when refreshing certificates
Closes #73.
2019-12-17 02:38:46 +03:00
Michael Klishin 5d14bd7d0a Cosmetics 2019-12-17 01:29:53 +03:00
Jean-Sébastien Pédron 3f1b222ce4 Git: Ignore copied CLI 2019-12-12 15:12:43 +01:00
Jean-Sébastien Pédron 8d65e586b5 Update rabbitmq-components.mk 2019-12-12 13:14:59 +01:00
kjnilsson 4a8bfbd88a Update rabbitmq-components.mk 2019-09-13 10:24:36 +01:00
kjnilsson 6e169f17a0 Update rabbitmq-components.mk 2019-09-04 10:31:14 +01:00
Jean-Sébastien Pédron b433813fbf Update erlang.mk 2019-08-29 20:46:08 +02:00
Michael Klishin 84952cbdb2 Update rabbitmq-components.mk 2019-08-11 01:48:11 +10:00
Jean-Sébastien Pédron 4f110cbb03 Update erlang.mk 2019-08-02 09:54:58 +02:00
Michael Klishin 9691f2050b Update rabbitmq-components.mk 2019-08-01 17:13:32 +03:00
Arnaud Cogoluègnes 1f1920eed0 Update rabbitmq-components.mk 2019-07-09 16:06:14 +02:00
Jean-Sébastien Pédron b23a1cbb5f Update rabbitmq-components.mk 2019-06-28 16:05:44 +02:00
Jean-Sébastien Pédron e36d298a69 Update erlang.mk 2019-06-28 16:03:08 +02:00
Michael Klishin 331898eed3 Cosmetics: prefer application:application:ensure_all_started/1
To be consistent with what RabbitMQ core uses.

Per discussion with @dcorbacho.
2019-06-14 16:26:37 +03:00
Diana Corbacho 037cc53542 HTTP proxy support
Proxy options can be passed to the trust store to set in
the httpc profile. Proxy options are described in:
http://erlang.org/doc/man/httpc.html#set_options-2

Example:
```
[{rabbitmq_trust_store,
  [{proxy_options,
    [
      {proxy, {{"127.0.0.1", 8080},[]}},
      {https_proxy, {{"127.0.0.1", 8080},[]}}
    ]
  }]
}].
```
2019-06-14 12:12:30 +01:00
Gerhard Lazu 78a6ec7952 Update rabbitmq-components.mk 2019-06-03 02:23:50 +01:00
Jean-Sébastien Pédron e592793915 Update rabbitmq-components.mk 2019-05-17 15:21:31 +02:00
Michael Klishin 457fcc9f08 Update rabbitmq-components.mk 2019-05-17 08:37:25 +03:00
Michael Klishin a387a2e3f0 Update rabbitmq-components.mk 2019-05-14 11:51:11 +03:00
Michael Klishin 2ced37b9d4 Update rabbitmq-components.mk 2019-05-13 16:40:51 +03:00
Gerhard Lazu 59a03d0042 Update rabbitmq-components.mk 2019-05-01 13:18:28 +01:00
Luke Bakken b54ea83ada Update rabbitmq-components.mk 2019-04-30 16:21:06 -07:00
Jean-Sébastien Pédron 23feb70b4f Update rabbitmq-components.mk 2019-04-30 14:47:42 +02:00
Gerhard Lazu ee32bc7597 Update rabbitmq-components.mk 2019-04-22 21:55:19 +01:00
Spring Operator dd0a171b4c URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).
* http://example.cert.url/path (UnknownHostException) with 3 occurrences migrated to:
  https://example.cert.url/path ([https](https://example.cert.url/path) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://example.com with 2 occurrences migrated to:
  https://example.com ([https](https://example.com) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.rabbitmq.com/community-plugins.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/community-plugins.html ([https](https://www.rabbitmq.com/community-plugins.html) result 200).
* http://www.rabbitmq.com/plugin-development.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugin-development.html ([https](https://www.rabbitmq.com/plugin-development.html) result 200).
* http://www.rabbitmq.com/plugins.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugins.html ([https](https://www.rabbitmq.com/plugins.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.mozilla.org/MPL/ with 4 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).

# Ignored
These URLs were intentionally ignored.

* http://127.0.0.1 with 1 occurrences
* http://127.0.0.1:8000/ with 1 occurrences
2019-03-20 03:24:48 -05:00
Michael Klishin b6dee67379 Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:22 +03:00
Daniil Fedotov 5e301b09c1 Handle OTP-21.3 TLS errors. 2019-03-18 17:35:57 -04:00
Michael Klishin 4b0a392b5b Update rabbitmq-components.mk 2019-03-15 09:34:54 +03:00
Michael Klishin 45a32d3611 Update rabbitmq-components.mk 2019-03-15 05:06:03 +03:00
Luke Bakken 5f8263b1c4 Ensure new modified date is used in state
lists:ukeymerge had reversed arguments, so the old value was always used

Added some Django debug logging in the example code

Fixes #68
2019-02-21 10:42:40 -08:00
Michael Klishin 9a3ddfd294 Update rabbitmq-components.mk 2019-02-12 23:24:14 +03:00
Michael Klishin 4ce6f1356d .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:28 +03:00
Michael Klishin fdee9684f6 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:50:07 +03:00
Luke Bakken 77b70eafe0 Update rabbitmq-components.mk 2019-01-09 12:55:26 -08:00
Luke Bakken 3710a7314f Update rabbitmq-components.mk 2019-01-08 11:58:37 -08:00
Michael Klishin 3765467418 Update rabbitmq-components.mk 2018-12-06 18:29:09 +03:00
Michael Klishin 6abab15711 Update rabbitmq-components.mk 2018-12-06 03:15:30 +03:00
Jean-Sébastien Pédron 858237776e Update rabbitmq-components.mk 2018-11-30 14:57:01 +01:00
Jean-Sébastien Pédron d12083da0b Update rabbitmq-components.mk 2018-11-22 09:19:45 +01:00
kjnilsson d130668a39 Update rabbitmq-components.mk 2018-10-29 12:43:34 +00:00
Jean-Sébastien Pédron 3b24f284df Update rabbitmq-components.mk 2018-09-19 10:38:26 +02:00
Michael Klishin 4a120630e7 Travis: try OTP 21.0 2018-09-12 17:39:50 +02:00
Michael Klishin 41437e8933 Travis: test against OTP 20.3.x and 21.x 2018-09-12 17:35:25 +02:00
Michael Klishin 80a0283613 Check for Elixir 1.6.6 2018-09-12 17:28:44 +02:00
Michael Klishin 050362e299 Install Elixir 1.6.6 on Travis 2018-09-12 17:23:43 +02:00
Michael Klishin ca3612ba62 Explain why each group uses a dedicated node
Pair: @kjnilsson.
2018-09-12 15:16:25 +02:00
Michael Klishin d1e8ac6c8e Start a node per test group
They use different plugin configurations.

Pairs: @kjnilsson, @dumbbell.
2018-09-12 14:50:19 +02:00
Michael Klishin 60a09423a7 Don't assert on function name
Pair: @kjnilsson.
2018-09-12 13:50:15 +02:00
Michael Klishin 4fc10741f0 Tear down whitelisted certificate dir between group runs
Investigating test interference in CI.

Pair: @kjnilsson.
2018-09-12 13:49:35 +02:00
Jean-Sébastien Pédron 25ba438c0a Update rabbitmq-components.mk 2018-09-11 14:22:43 +02:00
Jean-Sébastien Pédron 2adbb2d19d Update rabbitmq-components.mk 2018-08-09 17:44:25 +02:00
Jean-Sébastien Pédron 313132112a Update rabbitmq-components.mk 2018-08-09 12:17:11 +02:00
Michael Klishin c51ec9f8a7 Compile on OTP 21 from scratch
Part of rabbitmq/rabbitmq-server#1616.

[#157964874]
2018-06-08 02:18:01 +03:00
Jean-Sébastien Pédron 526558dd69 Update rabbitmq-components.mk 2018-06-07 11:31:46 +02:00
Jean-Sébastien Pédron ad3036dd04 Update erlang.mk 2018-04-11 10:54:35 +02:00
Jean-Sébastien Pédron e0c87d924f Update rabbitmq-components.mk 2018-04-11 10:51:32 +02:00
Jean-Sébastien Pédron 75c7248272 Update rabbitmq-components.mk 2018-04-11 10:10:14 +02:00
Jean-Sébastien Pédron 1b832b5030 Travis CI: Update config from rabbitmq-common 2018-04-10 13:09:46 +02:00
Jean-Sébastien Pédron 0ed55baf22 Update erlang.mk 2018-03-02 19:10:40 +01:00
Jean-Sébastien Pédron 37cc2d0456 Update rabbitmq-components.mk 2018-01-30 15:24:01 +01:00
Luke Bakken 4fbc816691 Update rabbitmq-components.mk 2018-01-29 16:22:27 -08:00
Jean-Sébastien Pédron ba0403cc0b Update rabbitmq-components.mk 2018-01-23 17:21:50 +01:00
Jean-Sébastien Pédron 2bc6e3db48 Update rabbitmq-components.mk 2018-01-23 15:31:37 +01:00
Diana Corbacho ddc391c263 Update rabbitmq-components.mk 2018-01-22 22:13:33 +00:00
Jean-Sébastien Pédron 01d074a886 Travis CI: Update config from rabbitmq-common 2017-12-15 15:17:58 +01:00
Luke Bakken 89abc070ad Fix remaining tests 2017-12-11 07:00:04 -08:00
Luke Bakken 9197a78849 Begin fixing tests 2017-12-11 07:00:04 -08:00
Jean-Sébastien Pédron ac0ac60b46 Update rabbitmq-components.mk 2017-12-01 15:16:54 +01:00
Jean-Sébastien Pédron b823306773 Update rabbitmq-components.mk 2017-11-28 14:01:22 +01:00
Jean-Sébastien Pédron db442e49b1 Update rabbitmq-components.mk 2017-11-28 13:31:44 +01:00
Jean-Sébastien Pédron e60015d290 Merge branch 'stable' 2017-11-06 19:25:17 +01:00
Jean-Sébastien Pédron 8ba9672a87 Travis CI: Update config from rabbitmq-common 2017-11-06 19:23:50 +01:00
Jean-Sébastien Pédron b9b5fbf59a Travis CI: Configuration patch not needed fox 3.7.x
... because this branch doesn't support Erlang R16B03.

[#152509619]
2017-11-06 14:52:49 +01:00
Jean-Sébastien Pédron 5dd1ee6a86 Merge branch 'stable' 2017-11-06 14:52:33 +01:00
Jean-Sébastien Pédron 8fb0bad024 Travis CI: Update config from rabbitmq-common
[#152509619]
2017-11-06 14:34:24 +01:00
Jean-Sébastien Pédron 46f836ddaa Travis CI: Only test build with Erlang R16B03-1
... because the testsuite requires Erlang 17.5+.

The build is tested as part of `make xref`. That's why we skip the
second command entirely with Erlang R16B03-1.

[#152509619]
2017-11-06 14:18:51 +01:00
Jean-Sébastien Pédron 4e1585f515 Travis CI: Update config from rabbitmq-common
[#152509619]
2017-11-06 10:51:53 +01:00
Jean-Sébastien Pédron d18da31aa0 Merge branch 'stable' 2017-10-13 15:14:07 +02:00
Jean-Sébastien Pédron 9585d546e8 Update rabbitmq-components.mk 2017-10-13 14:33:19 +02:00
Jean-Sébastien Pédron 62f7a785c2 Update rabbitmq-components.mk 2017-10-13 14:13:38 +02:00
Jean-Sébastien Pédron cf3be0bdc1 Update rabbitmq-components.mk 2017-10-13 12:15:54 +02:00
mgrafl ce993c4e4f Correct field name for json response
For the HTTP provider, the documentation incorrectly specified the field name of the relative certificate path to on server as "url". 
The correct field name according to the code is "path".
2017-10-03 14:05:40 +03:00
mgrafl c712c68a82 Correct field name for json response
For the HTTP provider, the documentation incorrectly specified the field name of the relative certificate path to on server as "url". 
The correct field name according to the code is "path".
2017-10-03 10:54:13 +02:00
Michael Klishin d59868164c Update rabbitmq-components.mk 2017-09-13 17:54:52 -04:00
Michael Klishin 9577243ff1 Update rabbitmq-components.mk 2017-09-13 17:45:49 -04:00
Michael Klishin fac2662d06 Update rabbitmq-components.mk 2017-09-12 19:53:42 -04:00
Michael Klishin 0dd9491306 Update rabbitmq-components.mk 2017-09-12 12:42:08 -04:00
Daniil Fedotov 297962d33f Merge branch 'stable' 2017-08-30 19:20:52 +01:00
Daniil Fedotov 3daba87204 Update erlang.mk 2017-08-30 18:46:45 +01:00
Michael Klishin e3adfa3747 Erlang/OTP 19.2 is now the minimum supported version.
Part of rabbitmq/rabbitmq-server#1305.

[#149563549]
2017-07-26 19:03:32 +03:00
Michael Klishin 9d63df9c7c Update rabbitmq-components.mk 2017-07-26 03:48:44 +03:00
Michael Klishin b69fc588c5 Update rabbitmq-components.mk 2017-07-26 02:27:19 +03:00
Michael Klishin 5c9c6c4587 Update rabbitmq-components.mk 2017-06-12 20:18:42 +03:00
Michael Klishin ea5abc3f2b Update rabbitmq-components.mk 2017-06-12 18:35:51 +03:00
Michael Klishin 30d68523e2 Merge branch 'stable' 2017-06-02 18:12:11 +03:00
Michael Klishin 100e72cf10 Update rabbitmq-components.mk 2017-06-02 17:51:38 +03:00
Michael Klishin 7e7015d65c Update rabbitmq-components.mk 2017-06-02 00:43:35 +03:00
Michael Klishin 8342660e3c Update rabbitmq-components.mk 2017-06-01 18:01:54 +03:00
Jean-Sébastien Pédron 3a48f8acbb Merge branch 'stable' 2017-05-16 18:13:30 +02:00
Jean-Sébastien Pédron be61a9dd54 Makefile: Load the new `rabbitmq-early-plugin.mk` early-stage plugin
See the corresponding commit in rabbitmq-common for an explanation.

[#144697185]
2017-05-16 17:39:17 +02:00
Jean-Sébastien Pédron 15449b01c1 Update erlang.mk 2017-05-16 17:39:17 +02:00
Michael Klishin ee168d5ade Merge branch 'stable' 2017-05-10 03:49:56 +03:00
Daniil Fedotov 2604ef9bff Wording 2017-05-08 16:36:56 +01:00
Daniil Fedotov ec5ea5e35e Add a certificate hash to cert_id in the file provider.
[#58]
    Just a file change date can be not enough to detect the certificate
    file change. Add a phash2 hash of a file content to check that certificate
    should be reloaded.
2017-05-08 11:58:40 +01:00
Daniil Fedotov 6f97aadc54 Do not check directory change time.
[#58]
Directory change time is not reliable to detect updates in
certificate files. Time resolution is too big (1 second)
and directory modification time does not update when a file
contents is changed.
2017-05-08 10:30:42 +01:00
Jean-Sébastien Pédron 10c5a8972e Merge branch 'stable' 2017-04-19 16:23:49 +02:00
Jean-Sébastien Pédron 2f20092dbc Update erlang.mk 2017-04-19 12:05:57 +02:00
Michael Klishin e99a9faee0 Merge branch 'stable' 2017-04-02 22:04:24 +03:00
Michael Klishin e16dcee191 (c) year 2017-04-02 21:49:53 +03:00
Ayanda Dube bb2671b446 Typo fix: 'sertificate' -> 'certificate' 2017-03-24 13:25:24 +01:00
Michael Klishin df0ea9a3b3 Ignore test/config_schema_SUITE_data/schema/ 2017-03-20 19:14:52 +03:00
Daniil Fedotov 44d58aba6c Config schema test for plugin
Part of [#141481501]
Moved from rabbitmq-server
2017-03-17 11:02:25 +00:00
Jean-Sébastien Pédron 605cecd816 system_SUITE: Work around file provider issue in `list` testcase
The file provider uses stat(2) which has a resolution of one second in
Erlang. Thus, the refresh may miss the new test certificates if the
creation happens in the same second after the previous refresh.

References #58.
2017-03-15 12:31:22 +01:00
Jean-Sébastien Pédron cf10607ddb system_SUITE: Accept `{error, closed}` as connection failures
With Erlang 18.3, there is a regression which causes the SSL connection
to crash with the following exception:

    ** {badarg,[{ets,update_counter,[1507362,#Ref<0.0.3.9>,-1],[]},
                {ssl_pkix_db,ref_count,3,...

When this exception reaches the connection process before the expected
TLS error, amqp_connection:start() returns `{error, closed}` instead.

Now, testcases tolerate `{error, closed}` as a return value: we know
that the connection was indeed terminated.

Signed-off: Gerhard Lazu <gerhard@rabbitmq.com>
2017-03-13 17:57:22 +01:00
Jean-Sébastien Pédron 7a1086dc29 Merge branch 'stable' 2017-03-08 10:07:01 +01:00
Jean-Sébastien Pédron 800bedeb78 system_SUITE: Wait 5 seconds in wait_for_trust_store_refresh()
... instead of 2 seconds. Hopefully, this increases the chance of test
success.

The real fix would be to explicitely verify that the trust store was
refreshed.
2017-03-08 09:40:29 +01:00
Daniil Fedotov 098f691269 Config schema 2017-02-15 17:45:11 +00:00
Daniil Fedotov c325b36826 3.7.0 json decoding 2017-02-14 18:09:26 +00:00
Michael Klishin 1269ad8517 Update rabbitmq-components.mk 2017-02-11 23:29:44 +03:00
Michael Klishin 0b48819285 Merge branch 'stable' 2017-02-10 21:28:51 +03:00
Michael Klishin 0c29d6417a Example trust store is now under github.com/rabbitmq 2017-02-10 21:28:38 +03:00
Michael Klishin f9d5104344 Merge branch 'stable'
Conflicts:
	.travis.yml
2017-02-10 20:34:53 +03:00
Michael Klishin b449648ea9 `url` in certificate objects should really be `path` 2017-02-10 20:01:53 +03:00
Daniil Fedotov 91f22455de Keep provider state in case of error listing certificates 2017-02-10 15:04:32 +00:00
Michael Klishin 7539f36c33 Ignore certs/* 2017-02-10 17:43:24 +03:00
Michael Klishin 2101dba003 README updates 2017-02-10 16:55:31 +03:00
Michael Klishin 1aeb71ccfe They are not necessarily CA certificates 2017-02-10 16:50:24 +03:00
Michael Klishin 275f2373d2 Ignore *.pyc and *.sqlite3 files 2017-02-10 16:49:54 +03:00
Michael Klishin 40d81b4db6 Merge branch 'stable' into rabbitmq-trust-store-54 2017-02-10 16:46:16 +03:00
Michael Klishin 1586a1a259 Update rabbitmq-components.mk 2017-02-10 11:16:45 +03:00
Michael Klishin 59ae859563 Update rabbitmq-components.mk 2017-02-10 03:06:39 +03:00
Daniil Fedotov 6606c712db Test http provider 2017-02-08 16:07:53 +00:00
Michael Klishin 0df653a310 merge branch 'stable' 2017-02-08 16:58:36 +03:00
Michael Klishin 7fe041a4bd Update rabbitmq-components.mk 2017-02-08 16:48:09 +03:00
Daniil Fedotov fe2a3c3b3c Merge branch 'stable' 2017-02-08 13:36:43 +00:00
Daniil Fedotov e6966dd9df Note about erlang version requirement
Versions prior to 17.3 have issues validating certificate chains
and can crash during `ssl_connection` certificate cache cleanup.
2017-02-08 13:34:53 +00:00
Daniil Fedotov bc40af382d Fix variable names 2017-02-08 13:24:31 +00:00
Daniil Fedotov cfbb905415 Replace maps with proplists 2017-02-08 13:24:31 +00:00
Daniil Fedotov a44fa6ff3c README about HTTP provider 2017-02-08 13:24:31 +00:00
Daniil Fedotov 9090278210 Example Django app to serve certificates 2017-02-08 13:24:31 +00:00
Daniil Fedotov bf50aafbdd HTTP provider for trust store
Fixes #54

Provider will list certificates as JSON, requiring list of objects
with `id` and `url` fields.
JSON root is an object with a single `certificates` field, containing
a list of certificate objects. (some web services require json root to
be object)
Certificates are loaded as PEM encoded files.
2017-02-08 13:24:31 +00:00