How to Solve the inaccessibility of Website After the SSL certificate is added

Error Message:
An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding ‘EnableRetryOnFailure()’ to the ‘UseMySql’ call.

Solution:
Connection string Add;sslMode=None on it, the code is as follows.
“Default”:’Server=127.0.0.1;port=3306;Database=database;Uid=account;Pwd=password;CharSet=utf8;Allow User Variables=True;sslMode=None;’;

Similar Posts: