zcstack commented on issue #5128:
URL: https://github.com/apache/apisix/issues/5128#issuecomment-926318230


   [root@apisix-test apisix]# curl --resolve 
'apisix-ssl.exsmart.net:9443:127.0.0.1' 
https://apisix-ssl.exsmart.net:9443/v1/white/tools/sts_info -vvv -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1'
   * Added apisix-ssl.exsmart.net:9443:127.0.0.1 to DNS cache
   * About to connect() to apisix-ssl.exsmart.net port 9443 (#0)
   *   Trying 127.0.0.1...
   * Connected to apisix-ssl.exsmart.net (127.0.0.1) port 9443 (#0)
   * Initializing NSS with certpath: sql:/etc/pki/nssdb
   *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
     CApath: none
   * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
   * Server certificate:
   *    subject: CN=apisix-ssl.exsmart.net
   *    start date: Sep 24 00:00:00 2021 GMT
   *    expire date: Sep 24 23:59:59 2022 GMT
   *    common name: apisix-ssl.exsmart.net
   *    issuer: CN=Encryption Everywhere DV TLS CA - 
G1,OU=www.digicert.com,O=DigiCert Inc,C=US
   > GET /v1/white/tools/sts_info HTTP/1.1
   > User-Agent: curl/7.29.0
   > Host: apisix-ssl.exsmart.net:9443
   > Accept: */*
   > X-API-KEY: edd1c9f034335f136f87ad84b625c8f1
   >
   < HTTP/1.1 200 OK
   < Content-Type: application/json; charset=utf-8
   < Content-Length: 841
   < Connection: keep-alive
   < Date: Fri, 24 Sep 2021 03:38:46 GMT
   < Server: APISIX/2.9
   < Trace-Id: 26e96f91-0dd5-497f-90dc-7e23912df7f7
   < Access-Control-Allow-Origin: *
   < Access-Control-Allow-Methods: GET,POST,OPTIONS,DELETE,PUT
   < Access-Control-Max-Age: 5
   < Access-Control-Expose-Headers: *
   < Access-Control-Allow-Headers: *


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