Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Aug 14, 2014 @ 13:53
    Matt Taylor
    0

    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

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 14, 2014 @ 14:02
    Richard Soeteman
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Aug 14, 2014 @ 14:03
    Matt Taylor
    0

    Hello Richard,

    Thanks and yes I can test the work-around.

    Regards,

    Matt

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 15, 2014 @ 14:15
    Richard Soeteman
    100

    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

  • Matt Taylor 873 posts 2086 karma points
    Aug 15, 2014 @ 14:17
    Matt Taylor
    0

    Thanks, remind me, do I need to uninstall the old package before installing this one?

    Regards, Matt

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 15, 2014 @ 14:19
    Richard Soeteman
    0

    Hi Matt,

    No just install this one it will take care of the update.

    Thanks,

    Richard

  • Matt Taylor 873 posts 2086 karma points
    Aug 15, 2014 @ 18:13
    Matt Taylor
    0

    I hate to say that after the upgrade I'm still getting the same error in the log Richard. :-(

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 17, 2014 @ 07:58
    Richard Soeteman
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Aug 18, 2014 @ 14:09
    Matt Taylor
    0

    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:

    [MissingMethodException: Method not found: 'SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult SEOChecker.Core.Repository.PageNotFound.PageNotFoundRepository.Get(System.String)'.]
       SEOChecker.HttpModules.UrlModule.(Object , EventArgs ) +0
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18447

    Regards, Matt

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 18, 2014 @ 18:07
    Richard Soeteman
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Aug 18, 2014 @ 18:51
    Matt Taylor
    0

    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

  • Matt Taylor 873 posts 2086 karma points
    Aug 18, 2014 @ 20:20
    Matt Taylor
    0

    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

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 19, 2014 @ 06:23
    Richard Soeteman
    0

    Glad it's solved Matt!

  • Matt Taylor 873 posts 2086 karma points
    Aug 19, 2014 @ 13:02
    Matt Taylor
    0

    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

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 19, 2014 @ 17:33
    Richard Soeteman
    0

    Hi Matt,

    I don't have any errors in HTTPS in debug mode, very weird, Logfile says anything?

  • Matt Taylor 873 posts 2086 karma points
    Aug 21, 2014 @ 16:04
    Matt Taylor
    0

    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

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Aug 21, 2014 @ 16:09
    Richard Soeteman
    0

    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 ;-)

Please Sign in or register to post replies

Write your reply to:

Draft