Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to disable https #977

Open
mileszhang2016 opened this issue Jan 28, 2022 Discussed in #927 · 1 comment
Open

Add support to disable https #977

mileszhang2016 opened this issue Jan 28, 2022 Discussed in #927 · 1 comment

Comments

@mileszhang2016
Copy link
Member

Discussed in #927

Originally posted by curiosport January 2, 2022
I know that using http instead of https is absurd I just want to know if it is possible to omit the TLS certificate during development.

@kwanhur
Copy link
Contributor

kwanhur commented Feb 20, 2022

Solution proposal:

  1. add item HttpsEnabled in conf/bfe.conf and the same in ConfigBasic struct bfe_config/conf_basic.go, default true
  2. when HttpsEnabled is false, no check in (cfg *ConfigHttpsBasic) Check(confRoot string)
  3. HttpsEnabled is false, no initial in (srv *BfeServer) InitHttps()
  4. HttpsEnabled is false, no startup for https connection serving

others to check, like bfe_modules, built-in monitor points etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants