WordPress.org

Support

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

[Resolved] network upgrade failing on ssl only site with self-singed cert

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

    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.

    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 ‘[Resolved] network upgrade failing on ssl only site with self-singed cert’ is closed to new replies.
Skip to toolbar