Thanks to the power of open source, we see that fingerprints for twitter certificates were encoded in the Katana project.
Microsoft.Owin.Security.Twitter.TwitterAuthenticationOptions
Recently, some certificates need to be changed, and now the prints no longer match.
Please add the new thumb print for the VeriSign Class 3 Public Primary Certification Authority - G5 certificate to your Twitter settings in your Startup.Auth.cs (for MVC users).
Change the default value:
app.UseTwitterAuthentication( consumerKey: "XXXX", consumerSecret: "XXX" );
Use this:
app.UseTwitterAuthentication(new TwitterAuthenticationOptions { ConsumerKey = "XXXX", ConsumerSecret = "XXXX", BackchannelCertificateValidator = new CertificateSubjectKeyIdentifierValidator(new[] { "A5EF0B11CEC04103A34A659048B21CE0572D7D47", // VeriSign Class 3 Secure Server CA - G2 "0D445C165344C1827E1D20AB25F40163D8BE79A5", // VeriSign Class 3 Secure Server CA - G3 "7FD365A7C2DDECBBF03009F34339FA02AF333133", // VeriSign Class 3 Public Primary Certification Authority - G5 "39A55D933676616E73A761DFA16A7E59CDE66FAD", // Symantec Class 3 Secure Server CA - G4 "5168FF90AF0207753CCCD9656462A212B859723B", //DigiCert SHA2 High Assurance Server CA "B13EC36903F8BF4701D498261A0802EF63642BC3" //DigiCert High Assurance EV Root CA }) });
MichaelLake Jul 29 '14 at 12:03 2014-07-29 12:03
source share