Before you login using the certificate, it must be attached to your Betfair account, as follows:
Log in to your Betfair account through http://betfair.com . (or betfair.it/betfair.es/betfair.ro/betfair.dk)
Navigate to https://myaccount.betfair.com/accountdetails/mysecurity?showAPI=1 (or below equivalents if accessing via a non Betfair.com jurisdiction)
Scroll to the section titled “Automated Betting Program Access” and click 'Edit'
Click on “Browse” and then locate and select the file client-2048.crt created above.
Click on the “Upload Certificate” button.
Jurisdiction |
My Security Page |
Betfair AUS |
https://myaccount.betfair.com.au/accountdetails/mysecurity?showAPI=1 |
Betfair Italy |
https://myaccount.betfair.it/accountdetails/mysecurity?showAPI=1 |
Betfair Spain |
https://myaccount.betfair.es/accountdetails/mysecurity?showAPI=1 |
Scroll down to the “Automated Betting Program Access” section if required and the certificate details should be shown.
Please note: You must upload the .crt file, not the .csr file, to your Betfair account.
You should now be able to log in to your Betfair account using the Betfair API endpoint.
You can find full instructions on how to create and upload a self-signed certificate to your Betfair account via Creating a Self-Signed Certificate.
One of the common issues with non-interactive login is answered in the below FAQ:
Why am I receiving the error CERT_AUTH_REQUIRED?
Comments
0 comments
Article is closed for comments.