Curl 错误:1408F10B:SSL例程:ssl3\u获取\u记录:版本号错误

Curl 错误:1408F10B:SSL例程:ssl3\u获取\u记录:版本号错误,curl,Curl,每当我执行以下操作时,为什么会出现以下错误 我从这里下载了curl: C:>curl-X POST-vu webui:webuisecret-k-H“Accept:application/json”-d“password=secret&username=ales&grant\u type=password&scope=read%20write&client\u secret=webuisecret&client\u id=webui” C:\>curl -X POST -vu webui:

每当我执行以下操作时,为什么会出现以下错误

我从这里下载了curl:

C:>curl-X POST-vu webui:webuisecret-k-H“Accept:application/json”-d“password=secret&username=ales&grant\u type=password&scope=read%20write&client\u secret=webuisecret&client\u id=webui”

C:\>curl -X POST -vu webui:webuisecret https://localhost:8080/oauth/token -k -H "Accept: application/json" -d "password=secret&username=ales&grant_type=password&scope=read%20write&client_secret=webuisecret&client_id=webui"
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8080 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

C:\>