curl - error:1408F10B:SSL routines:ssl3_get_record:wrong version number -


whenever executing below, why getting below error ?

i have downloaded curl here: https://curl.haxx.se/dlwiz/

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"

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 inferred. *   trying 127.0.0.1... * tcp_nodelay set * connected 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 pause stream! * closing connection 0 curl: (35) error:1408f10b:ssl routines:ssl3_get_record:wrong version number  c:\> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -