Betfair API Login - TLS 1.2 - from 19th February 2019

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • WTPooh
    replied
    Originally posted by maxspeed View Post
    could you please refresh the sample code for c#, dont understand which code to change
    thank you
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
    Just add this line to your program.

    Leave a comment:


  • geoffw123
    replied
    Hi

    I had ignored this announcement too until today as I assumed Betfair were just killing off some really old legacy protocol. Wrong !! I discovered I couldnt login today either.

    I had pretty much just copied and pasted Betfairs sample login code so my understanding of it isnt great. Anyways it should hopefully be simple for you to fix, basically you just need to recompile your Application but target .NET Version 4.7. This allows the OS to pick which TLS version it uses, so presumably my Win10 is now choosing TLS V1.2 rather than V1.1 before my recompile. All working fine now after switching to .NET Framework 4.7

    Regards Geoff

    Leave a comment:


  • maxspeed
    replied
    could you please refresh the sample code for c#, dont understand which code to change
    thank you

    Leave a comment:


  • stumped
    replied
    Hi there
    my question is this - I got the non interactive login going using python about a year or so ago. I set up using your instructions on the forum
    I used the python sample code
    can you update the tutorial to reflect these changes or am I totally missing the point here
    thanks
    Clive

    Leave a comment:


  • Betfair API Login - TLS 1.2 - from 19th February 2019

    Please be aware that from - 19th February, the only protocol for securing the communication between Betfair servers and web browsers at login will be TLS 1.2. Older versions (TLS.1.0, TLS.1.1 or SSLv3) will no longer work.

    Although we don't expect this to have an impact on API clients we'd recommend that you refer to the following resources depending on your programming language/framework to confirm that your using TLS 1.2 or above:

    Overview of Application’s & Adoption - https://en.wikipedia.org/wiki/Transp...s_and_adoption

    .NET - https://docs.microsoft.com/en-us/dot...rogramming/tls

    Java - http://www.ateam-oracle.com/tls-and-java/

    PHP - http://php.net/manual/en/migration56.openssl.php

    Python - https://docs.python.org/2/library/ssl.html

    Kind Regards

    Betfair Developer Program
    Last edited by BetfairDeveloperProgram; 06-02-2019, 07:29 AM. Reason: Updated release date from 7th Feb to 19th Feb
Working...
X