curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer 90d2c018-73d1-324b-b121-a162cf870ac0' 'https://172.17.0.1:8243/V1.0.2/stock/getNA?name=te'
Terminal requested
"curl: (51) SSL: the name of the certificate subject (localhost) does not match the name of the target host '172.17.0.1'"
Howerver, after I changed "172.17.0.1" to "localhost", it worked and got the result.
Why? Isn't the wrong configuration somewhere? Meanwhile, there is no log in http_access.log.
source
share