Maybe we can just pass in the correct key from the app_inf['ssl_info'] hash here? Instead of passing the whole ssl_info and rails_env.