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

Case "HTTPS GateWay": use "curl -k" is enough without key file #6

Closed
muxuelan opened this issue Jun 3, 2021 · 2 comments
Closed

Case "HTTPS GateWay": use "curl -k" is enough without key file #6

muxuelan opened this issue Jun 3, 2021 · 2 comments

Comments

@muxuelan
Copy link
Member

muxuelan commented Jun 3, 2021

What happened:
Using “curl -k https://ip:port” without certificate file is enough to access the service.
image

What you expected to happen:
When gateway is mode " https", accessing the service must carrying certificate files

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
Test procedure:
1)create a test key file:
image
2)create a 'Secret' according to the key file:
image
image
3)create 'Gateway' and 'VirtualService'
cat gateway.yaml:
image

Environment:

  • EdgeMesh version: release-1.7

  • Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:17:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:48:36Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

  • KubeEdge version(e.g. cloudcore --version and edgecore --version): cloudcore: release-1.7, edgecore: release-1.7

  • Cloud nodes Environment:
    • Hardware configuration (e.g. lscpu):
    • OS (e.g. cat /etc/os-release):
    • Kernel (e.g. uname -a):
    • Go version (e.g. go version):
    • Others:
  • Edge nodes Environment:
    • edgecore version (e.g. edgecore --version):
    • Hardware configuration (e.g. lscpu):
    • OS (e.g. cat /etc/os-release):
    • Kernel (e.g. uname -a):
    • Go version (e.g. go version):
    • Others:
@Poorunga
Copy link
Member

Poorunga commented Jun 7, 2021

Thanks for raising this issue. This problem may be a bug, we are locating now.

@muxuelan
Copy link
Member Author

Done

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