SSL certificate - Error during validation of document, details are logged in the Umbraco log.
I'm forcing the Umbraco back-end to use SSL with the setting in the web.config.
The client doesn't need to secure the site generally so doesn't want to pay for an official SSL certificate so I've just secured it with one that I've generated on my server.
The trouble is that the SEO tabe shows the following error message:
Error during validation of document, details are logged in the Umbraco log.
And the log shows this:
Type: Error | User: 0 | NodeId: -1 |
Comment: SEOChecker could not load
urlhttps://www.clubjourneyman.com/umbraco/dialogs/preview.aspx?id=3733
Error: System.Net.WebException: The underlying connection was closed:
Could not establish trust relationship for the SSL/TLS secure channel.
---> System.Security.Authentication.AuthenticationException: The
remote certificate is invalid according to the validation procedure.
How can I use the SeoChecker functionalty in the back-end with my own SSL certificate?
This is an error thrown by the request object. I had similar issues years back with web-services. Basically code needs to be implemented to trust the certificate. The same you normally do in a browser. I will see if the same work around could work for this solution tomorrow.
Would it be possible for you to test the work arround?
I copied the DLL over (after changing it to .dll) and it killed the site.
Server Error in '/' Application.
Method not found: 'SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult SEOChecker.Core.Repository.PageNotFound.PageNotFoundRepository.Get(System.String)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult SEOChecker.Core.Repository.PageNotFound.PageNotFoundRepository.Get(System.String)'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Sorry to hear but I think from the previous package the dll's didn't get updated. There was no change in the providers so this message should not happen.. Can you reinstall the previous package and see if all dll's are updated?
Seems to be a problem in Firefox, IE and Chrome are fine and I've seen one post on the net relating to a similar occurance. No answers. Oh well. Will live with it. :-P
SSL certificate - Error during validation of document, details are logged in the Umbraco log.
I'm forcing the Umbraco back-end to use SSL with the setting in the web.config.
The client doesn't need to secure the site generally so doesn't want to pay for an official SSL certificate so I've just secured it with one that I've generated on my server.
The trouble is that the SEO tabe shows the following error message:
Error during validation of document, details are logged in the Umbraco log.
And the log shows this:
Type: Error | User: 0 | NodeId: -1 | Comment: SEOChecker could not load urlhttps://www.clubjourneyman.com/umbraco/dialogs/preview.aspx?id=3733 Error: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
How can I use the SeoChecker functionalty in the back-end with my own SSL certificate?
Regards,
Matt
Hi Matt,
This is an error thrown by the request object. I had similar issues years back with web-services. Basically code needs to be implemented to trust the certificate. The same you normally do in a browser. I will see if the same work around could work for this solution tomorrow.
Would it be possible for you to test the work arround?
Best,
Richard
Hello Richard,
Thanks and yes I can test the work-around.
Regards,
Matt
Hi Matt,
I've fixed the issue. Tested it on my own self signed certificate. You can already install the updated package. Just ues the package file below.
https://www.dropbox.com/s/hctibuqcuplxort/seochecker-1.6.1.zip
Hope this fixes your issue.
Best,
Richard
Thanks, remind me, do I need to uninstall the old package before installing this one?
Regards, Matt
Hi Matt,
No just install this one it will take care of the update.
Thanks,
Richard
I hate to say that after the upgrade I'm still getting the same error in the log Richard. :-(
Hi Matt,
Weird it solved on my machine, but can you add this dll to your bin folder https://www.dropbox.com/s/dxx7me2qwvkwd7r/SEOChecker.Core.dl and check if it says SEOChecker: Approve HTTPS before the error occurs?
Thanks,
Richard
Hello Richard,
I copied the DLL over (after changing it to .dll) and it killed the site.
Server Error in '/' Application.
Method not found: 'SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult SEOChecker.Core.Repository.PageNotFound.PageNotFoundRepository.Get(System.String)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult SEOChecker.Core.Repository.PageNotFound.PageNotFoundRepository.Get(System.String)'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18447
Regards, Matt
Hi Matt,
Sorry to hear but I think from the previous package the dll's didn't get updated. There was no change in the providers so this message should not happen.. Can you reinstall the previous package and see if all dll's are updated?
Thanks,
Richard
You're right Richard.
I checked what had been installed and a load of bits were missing.
After re-installing the packeage I can confirm that the update has fixed my problem.
Thank you for your support.
Regards,
Matt
Hello Richard,
I've discovered a problem that occurs when trying to debug my code with the 1.6.1 package installed.
Something in SEOChecker.dll is causing the error and causes the debugger to quit.
Sorry about the image, it wouldn't let me copy/paste.
Regards, Matt
Glad it's solved Matt!
Richard,
Did you see the problem I'm experiencing with that 1.6.1 package when running the site in the VS debugger?
Something is causing it to error and the debugger to quit which is quite annoying.
Any advice?
Regards, Matt
Hi Matt,
I don't have any errors in HTTPS in debug mode, very weird, Logfile says anything?
Nothing in the log file.
Seems to be a problem in Firefox, IE and Chrome are fine and I've seen one post on the net relating to a similar occurance. No answers.
Oh well. Will live with it. :-P
Matt
Had another customer with the same issue, only in debug mode in Visual studio, will look into this further but it's a nasty one ;-)
is working on a reply...