infobyte / faraday

Open Source Vulnerability Management Platform
https://www.faradaysec.com
GNU General Public License v3.0
5.02k stars 916 forks source link

ssl faraday #396

Closed 26ayushagarwal closed 4 years ago

26ayushagarwal commented 4 years ago

Hello,

How can I change SSL port in faraday. I tried to change in ~/.faraday/config/server.ini but it does not make any difference, it is still working on port 6985.

I do not want to use port 6985 but would like to use different port.

faraday-server --ssl 2020-04-27 08:20:13,255 - faraday - INFO {MainThread} [start_server.py:43 - setup_environment()] Checking dependencies... 2020-04-27 08:20:13,255 - faraday - INFO {MainThread} [start_server.py:46 - setup_environment()] Dependencies met 2020-04-27 08:20:13,255 - faraday.server.web - INFO {MainThread} [web.py:81 - init()] Starting web server at https://0.0.0.0:5985/ 2020-04-27 08:20:13,259 - faraday.faraday_plugins.plugins.manager - INFO {MainThread} [manager.py:113 - _load_plugins()] Loading Native Plugins... 2020-04-27 08:20:13,358 - faraday.faraday_plugins.plugins.manager - INFO {MainThread} [manager.py:159 - _load_plugins()] Can't import faraday server, no custom plugins will be loaded 2020-04-27 08:20:13,358 - faraday.faraday_plugins.plugins.manager - INFO {MainThread} [manager.py:160 - _load_plugins()] 63 plugins loaded 2020-04-27 08:20:13,360 - faraday.server.web - INFO {MainThread} [web.py:129 - build_websockets_resource()] Starting websocket server at port 9000 with bind address 0.0.0.0. SSL True 2020-04-27 08:20:13,361 - faraday.server.web - INFO {MainThread} [web.py:197 - run()] Faraday Server is ready 2020-04-27 08:20:19,122 - faraday.server - INFO {TimerClassThread} [init__.py:28 - run()] License status OK_DEV

llazzaro commented 4 years ago

Hi,

We recommend to use a nginx server in front of the faraday-server. Checkout our guide on how to setup nginx with faraday here.

When using nginx we recommend to bind only to localhost the faraday-server instance.

Regards,

llazzaro commented 4 years ago

I'll close this ticket, but if you find any other issue or if you have any questions, feel free to open a new ticket. We'll be glad to help you. Best regards,