Can not authenticate with certificate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonesyau
    Junior Member
    • Mar 2019
    • 1

    #1

    Can not authenticate with certificate

    Hi there. I am trying to use the non-interactive login option, and I am getting the response CERT_AUTH_REQUIRED.

    I have followed the instructions at https://docs.developer.betfair.com/d...ve+(bot)+login to create a key and certificate, and I encountered no errors though those steps. I was able to upload this certificate to my account on betfair.com.au, and assume it's valid (ie. is a client certificate) given it was accepted.

    Private key name: betfair-api-2048.key
    Public certificate name: betfair-api-2048.crt

    I then tried to test this with curl at a CentOS bash prompt as follows:

    [root@centos ~]# curl -q -k --cert betfair-api-2048.crt --key betfair-api-2048.key https://identitysso-cert.betfair.com/api/certlogin -d "username=(username)&password=(password)" -H "X-Application: (app key)"

    I then get the following response:

    {"loginStatus":"CERT_AUTH_REQUIRED"}

    Can anyone please let me know where I am going wrong?
  • Apitester
    Junior Member
    • Apr 2019
    • 2

    #2
    Having the same issue, could someone solve this?

    Comment

    • Charlie
      Junior Member
      • Sep 2019
      • 1

      #3
      I am also unable to resolve this issue. Any updates?

      Comment

      • TomskiDEV
        Junior Member
        • Jun 2019
        • 1

        #4
        I think the uri changed try this url
        https://identitysso.betfair.com/api/login

        Comment

        Working...
        X