Trouble with Authentication


#1

I am attempting to follow along with this dreamfactory tutorial:

I am using a windows 7 PC and have dreamfactory installed on a server. From another computer on my network in the command prompt I am using this:

curl -k -3 -X POST https://MYSERVER:85/rest/user/session -H “X-DreamFactory-Application-Name: MYAPPNAME” -d “{ “email” : "TEST@TEST.COM”, “password” : “TEST” }"

The Response is this:

curl: (35) error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Anyone have any ideas on what is going wrong here?


#2

Using SSL with our API requires SSL3. So from the error message, I believe either your CURL is configured to use another version of SSL, or your server is not using SSL3.


#3

You were correct using http worked. It is my server that was causing the problem.


#4

Great! I’m glad I was able to help.