class Puma::DSL

def add_pem_values_to_options_store(opts)

options[:store] from where Puma binder knows how to find and extract them.
To avoid adding cert_pem and key_pem as URI params, we store them on the
def add_pem_values_to_options_store(opts)
  return if defined?(JRUBY_VERSION)
  @options[:store] ||= []
  # Store cert_pem and key_pem to options[:store] if present
  [:cert, :key].each do |v|
    opt_key = :"#{v}_pem"
    if opts[opt_key]
      index = @options[:store].length
      @options[:store] << opts[opt_key]
      opts[v] = "store:#{index}"
    end
  end
end