Module: Elasticsearch::API::SSL::Actions
- Included in:
- SSLClient
- Defined in:
- lib/elasticsearch/api/namespace/ssl.rb,
lib/elasticsearch/api/actions/ssl/certificates.rb
Instance Method Summary collapse
-
#certificates(arguments = {}) ⇒ Object
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
Instance Method Details
#certificates(arguments = {}) ⇒ Object
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/elasticsearch/api/actions/ssl/certificates.rb', line 31 def certificates(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'ssl.certificates' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET path = '_ssl/certificates' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end |