MirtoBusico commented on issue #8452:
URL: https://github.com/apache/apisix/issues/8452#issuecomment-1337608561

   Well,
   to create the sni I used the Apisix dashboard
   
![sni](https://user-images.githubusercontent.com/11090934/205679466-6126a8ef-2e47-4f91-b122-6d2290942b4e.png)
   and used the upload method
   the two files are (added .txt extension to be able to upload)
   
[apisix.crt.txt](https://github.com/apache/apisix/files/10155554/apisix.crt.txt)
   
[apisix.key.txt](https://github.com/apache/apisix/files/10155555/apisix.key.txt)
   These files are signed by a private certification authority whose key and 
pem are
   
[hservca.pem.txt](https://github.com/apache/apisix/files/10155579/hservca.pem.txt)
   
[hservca.key.txt](https://github.com/apache/apisix/files/10155580/hservca.key.txt)
   
   I have also another route (without openid-connect) "www.h.net" that works 
correctly and when I access this route I see in the apisix logs
   ```
   127.0.0.6 - - [05/Dec/2022:15:24:23 +0000] www.h.net "GET / HTTP/1.0" 200 
1683 0.066 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 200 0.065 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:23 +0000] www.h.net "GET 
/static/bootstrap/js/bootstrap.min.js HTTP/1.0" 304 0 0.039 
"https://www.h.net/"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 304 0.039 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:23 +0000] www.h.net "GET 
/static/bootstrap/css/bootstrap.min.css HTTP/1.0" 304 0 0.040 
"https://www.h.net/"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 304 0.039 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:23 +0000] www.h.net "GET 
/static/jquery.min.js HTTP/1.0" 304 0 0.038 "https://www.h.net/"; "Mozilla/5.0 
(X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.177.176:9080 
304 0.038 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:23 +0000] www.h.net "GET 
/static/bootstrap/css/bootstrap-theme.min.css HTTP/1.0" 304 0 0.041 
"https://www.h.net/"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 304 0.039 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:26 +0000] www.h.net "GET / HTTP/1.0" 200 
1683 0.021 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 200 0.021 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:27 +0000] www.h.net "GET / HTTP/1.0" 200 
1683 0.005 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 200 0.005 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:27 +0000] www.h.net "GET / HTTP/1.0" 200 
1683 0.004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 200 0.003 "http://www.h.net";
   127.0.0.6 - - [05/Dec/2022:15:24:27 +0000] www.h.net "GET / HTTP/1.0" 200 
1683 0.003 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 
Firefox/107.0" 10.43.177.176:9080 200 0.003 "http://www.h.net";
   ```
   without errors
   
   Also deleting the openid-connect plugin the "apisix.h.net" route works 
correctly and in apisix pod log I see
   ```
   127.0.0.6 - - [05/Dec/2022:15:48:41 +0000] apisix.h.net "GET 
/apisix/admin/labels/route HTTP/1.0" 401 70 0.036 
"https://apisix.h.net/routes/list"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) 
Gecko/20100101 Firefox/107.0" 10.43.132.106:80 401 0.034 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:41 +0000] apisix.h.net "GET 
/p__User__Logout.0055155e.async.js HTTP/1.0" 200 2985 0.031 
"https://apisix.h.net/user/logout?redirect=%2Froutes%2Flist"; "Mozilla/5.0 (X11; 
Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 
0.031 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:41 +0000] apisix.h.net "GET 
/user/login?redirect=%2Froutes%2Flist HTTP/1.0" 200 2100 0.011 
"https://apisix.h.net/user/logout?redirect=%2Froutes%2Flist"; "Mozilla/5.0 (X11; 
Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 
0.010 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:43 +0000] apisix.h.net "POST 
/apisix/admin/user/login HTTP/1.0" 200 237 0.003 
"https://apisix.h.net/user/login?redirect=%2Froutes%2Flist"; "Mozilla/5.0 (X11; 
Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 
0.002 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:41 +0000] apisix.h.net "GET 
/p__User__Login.b2bf8b62.async.js HTTP/1.0" 200 4425 0.005 
"https://apisix.h.net/user/login?redirect=%2Froutes%2Flist"; "Mozilla/5.0 (X11; 
Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 
0.004 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:41 +0000] apisix.h.net "GET 
/p__User__Login.93c6ad4d.chunk.css HTTP/1.0" 200 685 0.013 
"https://apisix.h.net/user/login?redirect=%2Froutes%2Flist"; "Mozilla/5.0 (X11; 
Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 
0.012 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:44 +0000] apisix.h.net "GET 
/apisix/admin/labels/route HTTP/1.0" 200 122 0.006 
"https://apisix.h.net/routes/list"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) 
Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 0.004 "http://apisix.h.net";
   127.0.0.6 - - [05/Dec/2022:15:48:44 +0000] apisix.h.net "GET 
/apisix/admin/routes?label=&page=1&page_size=10 HTTP/1.0" 200 410 0.002 
"https://apisix.h.net/routes/list"; "Mozilla/5.0 (X11; Linux x86_64; rv:107.0) 
Gecko/20100101 Firefox/107.0" 10.43.132.106:80 200 0.001 "http://apisix.h.net";
   ```
   
   What can I try?
   
   
   
   
   
   
   
   


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