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?
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?


Comment