This project is read-only.

Old Verify URL?

Aug 18, 2014 at 8:15 PM
I'm using MVC 5, .NET 4.5, IIS 8, Windows Server 2012R2

I was having issues using the RecaptchaVerificationHelper through https. I was getting an error from IIS stating, "The remote certificate is invalid according to the validation procedure."

After some troubleshooting, it appeard that the certificate for was invalid.

In RecaptcahVerificationHelper.cs I changed the following line:
verifyUri = new Uri("", UriKind.Absolute);


verifyUri = new Uri("", UriKind.Absolute);

and after rebuilding and importing that .dll, that seems to have solved the error for me.
Sep 17, 2014 at 3:30 PM
I had the same problem and was able to fix it the same way. I would rather use the NuGet package and hope there is a fix in the works.
Jan 9, 2015 at 6:55 PM
I have the same problem. The SSL certificate is issued to domain which does not match
So SSL error.
Jan 9, 2015 at 7:07 PM
I made your suggested code change, thanks. How did you build the DLL? I am getting 3 errors like this:

Error 5 Cannot import the following key file: Recaptcha.Web.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_1A666F7EBE3DA109 Recaptcha.Web

Did you fix these errors to be able to build the solution?
Jan 12, 2015 at 3:49 PM
I deleted the .pfx file from each solution, and I was able to build.