lihansir opened a new issue #2908:
URL: https://github.com/apache/apisix/issues/2908


   ### Issue description
   
   
   ### Environment
   
   * apisix version: 2.0
   * OS: Centos7
   
   ### Minimal test code / Steps to reproduce the issue
   1.use apisix-dashboard, create a route
   2.enable openid-connect plugin, and fill in discovery、introspection_endpoint 
such as 
"https://xxxxx/oidc/.well-known/openid-configuration"、"https://xxxxx/oidc/token/introspection";
   3.use postman to test the configured routing address
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   Http response status is 401,and the apisix log file has some error
   
      /usr/local/apisix/logs/error.log:
          2020/12/01 04:14:54 [error] 43#43: *573137 [lua] openidc.lua:502: 
call_token_endpoint(): accessing introspection endpoint 
(https://xxxxx/oidc/token/introspection) failed: 20: unable to get local issuer 
certificate, client: 10.10.10.10, server: , request: "GET / HTTP/1.1", host: 
"10.10.10.10:30794"
   2020/12/01 04:14:54 [error] 43#43: *573137 [lua] openid-connect.lua:152: 
phase_func(): failed to introspect in openidc: accessing introspection endpoint 
(https://xxxxx/oidc/token/introspection) failed: 20: unable to get local issuer 
certificate, client: 10.10.10.10, server: , request: "GET / HTTP/1.1", host: 
"10.10.10.10:30794"
   
   
   ### What's the expected result?
   I hope openid-connect plugin can support https


----------------------------------------------------------------
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:
[email protected]


Reply via email to