MarkCupitt opened a new issue, #8663:
URL: https://github.com/apache/apisix/issues/8663

   ### Current Behavior
   
   This Error occurs:
   
   ```
   2023/01/12 06:09:20 [error] 64#64: *426241 [lua] radixtree_sni.lua:170: 
match_and_set(): failed to find any SSL certificate by SNI: 
e3.engineering.billrush.work, context: ssl_certificate_by_lua*, client: 
192.168.50.80, server: 0.0.0.0:9443
   ```
   Certificate craeted with this certbot command
   ```
   sudo certbot -d e3.engineering.billrush.work -v --rsa-key-size 4096 --manual 
--preferred-challenges dns certonly
   ```
   
   Certificate Uploaded to apisix via dashboard. Certificate accepted and sni 
and expiry is displayed
   
   Routes on that SNI host cause the error to issue
   
   
   
   ### Expected Behavior
   
   Routes shoudl work, no error should be logged
   
   
![image](https://user-images.githubusercontent.com/5503184/211991760-e3d94872-bfad-403f-8564-b2b61a4f1ce2.png)
   
   
   ### Error Logs
   
   2023/01/12 06:09:20 [error] 64#64: *426241 [lua] radixtree_sni.lua:170: 
match_and_set(): failed to find any SSL certificate by SNI: 
e3.engineering.billrush.work, context: ssl_certificate_by_lua*, client: 
192.168.50.80, server: 0.0.0.0:9443
   
   ### Steps to Reproduce
   
   Install via helm
   enable ssl in config
   load cert via dashboard
   create route using same host as SNI in cert
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to