Method: NewRelic::Agent::NewRelicService#ssl_cert_store
- Defined in:
- lib/new_relic/agent/new_relic_service.rb
permalink #ssl_cert_store ⇒ Object
[View source]
289 290 291 292 293 294 295 296 297 298 |
# File 'lib/new_relic/agent/new_relic_service.rb', line 289 def ssl_cert_store path = cert_file_path if !@ssl_cert_store || path != @cached_cert_store_path ::NewRelic::Agent.logger.debug("Creating SSL certificate store from file at #{path}") @ssl_cert_store = OpenSSL::X509::Store.new @ssl_cert_store.add_file(path) @cached_cert_store_path = path end @ssl_cert_store end |