You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/20 02:14:42 UTC

[GitHub] [apisix] Yiyiyimu commented on a change in pull request #2112: fix: move `conf/cert` to `t/certs` and disable ssl by default

Yiyiyimu commented on a change in pull request #2112:
URL: https://github.com/apache/apisix/pull/2112#discussion_r527350010



##########
File path: conf/config-default.yaml
##########
@@ -101,12 +101,15 @@ apisix:
   dns_resolver_valid: 30          # valid time for dns result 30 seconds
   resolver_timeout: 5             # resolver timeout
   ssl:
-    enable: true
+    enable: false                 # ssl is disabled by default
+                                  # enable it to use your own cert and key
     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: ""

Review comment:
       Thank you! fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org