The remote certificate is invalid according to the verification procedure. external input with twitter

This is an asp.net mvc5 application. Still under development. I use the twitter login. When I click "login with twitter", it just throws an error on the screen. This is rather strange, because everything works well, and suddenly I see this error.

The only thing that changed was when I started my computer, he said that the system date had changed and asked me to press 'f1' and change the date. I have done it. I am not sure if this is due to an error.

The error is attached. It would be great if someone can show a little light

enter image description here

+4
source share
2

. , , plz .

0

.

enter image description here

Startup.Auth.cs . > .

app.UseTwitterAuthentication(new TwitterAuthenticationOptions
        {
            ConsumerKey = "XXXXXXXXXXXXXXXXXXXXXX",
            ConsumerSecret = " XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ",
            BackchannelCertificateValidator = new Microsoft.Owin.Security.CertificateSubjectKeyIdentifierValidator(new[]
            {

              "A5EF0B11CEC04103A34A659048B21CE0572D7D47", // VeriSign Class 3 Secure Server CA - G2
              "0D445C165344C1827E1D20AB25F40163D8BE79A5", // VeriSign Class 3 Secure Server CA - G3
              "7FD365A7C2DDECBBF03009F34339FA02AF333133", // VeriSign Class 3 Public Primary CA - G5
              "39A55D933676616E73A761DFA16A7E59CDE66FAD", // Symantec Class 3 Secure Server CA - G4
              "‎add53f6680fe66e383cbac3e60922e3b4c412bed", // Symantec Class 3 EV SSL CA - G3
              "4eb6d578499b1ccf5f581ead56be3d9b6744a5e5", // VeriSign Class 3 Primary CA - G5
              "5168FF90AF0207753CCCD9656462A212B859723B", // DigiCert SHA2 High Assurance Server C‎A 
              "B13EC36903F8BF4701D498261A0802EF63642BC3"  // DigiCert High Assurance EV Root CA
            })
        });
0

Source: https://habr.com/ru/post/1609161/


All Articles