WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] network upgrade failing on ssl only site with self-singed cert (6 posts)

  1. Mark Waters
    Member
    Posted 3 years ago #

    Seeing this while doing a Network Upgrade

    Warning! Problem updating https://domain.tld/blogname. Your server may not be able to connect to sites running on it. Error message: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    The site is entirely SSL only and using a self-signed certificate.
    Running 3.1-RC5-17466
    Any ideas to fix ?
    Thanks

  2. lxg
    Member
    Posted 3 years ago #

    We had the same situation, the solution is:

    Create a MU plugin with the following content

    <?php
    add_filter('https_ssl_verify', '__return_false');
    add_filter('https_local_ssl_verify', '__return_false');
    ?>

    and try again. :)

  3. davidem
    Member
    Posted 3 years ago #

    Damn, this works like a charm! I was looking for something like this since I migrated to WP3.0, thanks!

  4. puppprecious
    Member
    Posted 2 years ago #

    Thanks mastermind, you have just made a lot of people very happy!

    I was trying to migrate from Multisite 3.0.x to 3.1.2 and this allowed a successful network upgrade (I was already bracing myself for a blog by blog upgrade).

    The only comment I have is that the folder in which Mu plugins resides should be called wp-content/mu-plugins and it may need to be manually created as newer wp versions do not seem to include it.

  5. Yeah, it was included in WordPress MU, but not in the merged version.

    Mind, it'll run in SingleSite as well as MultiSite ;D

  6. tmuka
    Member
    Posted 2 years ago #

    Thanks for the useful post, @mastermind, this was helpful!

Topic Closed

This topic has been closed to new replies.

About this Topic