-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: move conf/cert
to t/certs
and disable ssl by default
#2112
Conversation
@Yiyiyimu please fix the issue of CI |
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
…le_ssl' Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
conf/cert
to t/certs
conf/cert
to t/certs
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Kind of stuck here and need some help. Thx~ |
conf/config-default.yaml
Outdated
@@ -61,7 +61,7 @@ apisix: | |||
- 127.0.0.0/24 # If we don't set any IP list, then any IP access is allowed by default. | |||
# - "::/64" | |||
# port_admin: 9180 # use a separate port | |||
https_admin: true # enable HTTPS when use a separate port for Admin API. | |||
# https_admin: true # enable HTTPS when use a separate port for Admin API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the default value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nil I think
It is another issue now. I think it is caused by ssl not being enabled by default: You can modify the test case accordingly and move on. |
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
Thank you for the fix and problem pointing out @nic-chen! All test passed and ready to be reviewed~ |
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
conf/config-default.yaml
Outdated
enable_http2: true | ||
listen_port: 9443 | ||
# ssl_trusted_certificate: /path/to/ca-cert # Specifies a file path with trusted CA certificates in the PEM format | ||
# used to verify the certificate when APISIX needs to do SSL/TLS handshaking | ||
# with external services (e.g. etcd) | ||
ssl_cert: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the path or content of the certificate? we need to add comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! fixed
conf/cert
to t/certs
conf/cert
to t/certs
and disable ssl by default
@nic-chen please take a look |
What this PR does / why we need it:
fix #2110
Pre-submission checklist: