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 2022/03/01 10:07:44 UTC

[GitHub] [apisix] aiyiyi121 opened a new issue #6479: request help: Can I send HTTPS requests to apisix via IP

aiyiyi121 opened a new issue #6479:
URL: https://github.com/apache/apisix/issues/6479


   ### Issue description
   
   Because our firewall can only use IP to check HTTPS security. How can I send HTTPS requests to apisix via IP?
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] aiyiyi121 commented on issue #6479: request help: Can I send HTTPS requests to apisix via IP

Posted by GitBox <gi...@apache.org>.
aiyiyi121 commented on issue #6479:
URL: https://github.com/apache/apisix/issues/6479#issuecomment-1055293842


   > @aiyiyi121 FYI:
   > 
   > ```
   > curl https://{APISIX IP}:{APISIX HTTPS PORT}/path/to/your/api
   > ```
   > 
   > If the requests failed since the TLS issues, check out curl manual and find some options.
   
   It will fail using the `config-default.yaml`, and report errors "failed to fetch ssl config: failed to find SNI: please check if the client requests via IP or uses an outdated protocol".
   But I have found the solution by reading the source codeļ¼Œand change the config.yaml-apisix-ssl-fallback_sni, it can set the default SNI when the client doesn't send SNI during handshake.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tokers commented on issue #6479: request help: Can I send HTTPS requests to apisix via IP

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #6479:
URL: https://github.com/apache/apisix/issues/6479#issuecomment-1055277098


   @aiyiyi121 FYI:
   
   ```
   curl https://{APISIX IP}:{APISIX HTTPS PORT}/path/to/your/api
   ```
   
   If the requests failed since the TLS issues, check out curl manual and find some options.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] aiyiyi121 closed issue #6479: request help: Can I send HTTPS requests to apisix via IP

Posted by GitBox <gi...@apache.org>.
aiyiyi121 closed issue #6479:
URL: https://github.com/apache/apisix/issues/6479


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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