Support » Alpha/Beta/RC » network upgrade failing on ssl only site with self-singed cert

  • Resolved Mark Waters

    (@markwaters-1)


    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • lxg

    (@mastermind)

    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. 🙂

    davidem

    (@davidem)

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

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

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

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

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘network upgrade failing on ssl only site with self-singed cert’ is closed to new replies.