Method: NewRelic::Agent::NewRelicService#cert_file_path

Defined in:
lib/new_relic/agent/new_relic_service.rb

#cert_file_pathObject

The path to the certificate file used to verify the SSL connection if verify_peer is enabled

[View source]

385
386
387
388
389
390
# File 'lib/new_relic/agent/new_relic_service.rb', line 385

def cert_file_path
  if path_override = NewRelic::Agent.config[:ca_bundle_path]
    NewRelic::Agent.logger.warn("Couldn't find CA bundle from configured ca_bundle_path: #{path_override}") unless File.exist?(path_override)
    path_override
  end
end