Skip to content

Could not create SSL/TLS secure channel error on some sites #42

Description

@valadas

Describe the bug

On sites that run .Net 4.0, if reCaptcha is enabled, the following errors shows:
Could not create SSL/TLS secure channel

Software Versions

  • DNN: 08.00.xx
  • Module: 06.06.00
  • .Net 4.0

To Reproduce

Steps to reproduce the behavior:

  1. On a site that has Dnn 8 running .Net 4.0
  2. Install Feedback 06.06.00
  3. Enable recaptcha
  4. Try to submit feedback and notice the error

Expected behavior

Should work

Error log

AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:34a02092-32a8-40a2-b2fa-83eac02f583f
AssemblyVersion:8.0.4
PortalId:1
UserId:-1
TabId:129
RawUrl:/temoignages
Referrer: ........... /temoignages
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
ExceptionHash:t4HDFo6Ou9uQE6VDMCiSkw==
Message:The request was aborted: Could not create SSL/TLS secure channel.
StackTrace:
InnerMessage:The request was aborted: Could not create SSL/TLS secure channel.
InnerStackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at DotNetNuke.Modules.Feedback.NoCaptcha.Validate() in D:\websites\dnn911\DesktopModules\DNN.Feedback\Components\NoCaptcha.vb:line 77
at DotNetNuke.Modules.Feedback.Feedback.cmdSend_Click(Object sender, EventArgs e) in D:\websites\dnn911\DesktopModules\DNN.Feedback\Feedback.ascx.vb:line 449
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Nom du serveur: WIN1-DC1
Paste the error log that is related to this issue.

Additional notes

I think google now forces TLS 1.2 only, .Net 4.5 has a way to force TLS 1.2 and .Net 4.0 also has a workaround, I will try to implement that to see if it fixes the issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions