Problem with multisite update re ssl

Just finished upgrading a multisite installation that forces ssl for logins and admin only. The first part went fine, but when I tried to apply the updates to the network (just one French translation site at the moment), I got this error message having to do with the SSL:
https://www.domain.com/fr
Warning! Problem updating https://www.domain.com/fr. 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.

I have a hidden site for future cloning and the upgrade was applied to it with no problems.

Everything works, thankfully, but I need to figure out how to make the updates.

It looks like the issue is that WordPress is trying to update https://www.domain.com/fr when the site itself is http://www.domain.com/fr.

In the network admin > sites, I see that all the sites that the domain is listed as https://www.domain.com.

Any ideas about how to fix this?

    Ash
    • 2,414 pts
      27,767 pts
      LEVEL 30

    Hello there

    I hope you are well today and thanks for asking the question.

    Create a plugin in mu-plugins folder and add the following code into it:

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

    Check if it works for you.

    Cheers
    Ash

    Ash
    • 2,414 pts
      27,767 pts
      LEVEL 30

    Hello there

    I hope you are well today and thanks for asking the question.

    Create a plugin in mu-plugins folder and add the following code into it:

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

    Check if it works for you.

    Cheers
    Ash

    Ash
    • 2,414 pts
      27,767 pts
      LEVEL 30

    Well, you can add it in your functions.php but it won't work if you change the theme. So, you need to add it in your activated theme's functions.php file.

    Please let me know if it is helpful and feel free to ask more question if you have.

    Cheers
    Ash

    flojnel
    • 63 pts
      167 pts
      LEVEL 4

    Thanks - don't have time to test it now, but will give it a try. It's a custom theme I wrote so won't be any problem in functions.

    Ash
    • 2,414 pts
      27,767 pts
      LEVEL 30

    Cool! Let me know if it works :)

    Please let me know if it is helpful and feel free to ask more question if you have.

    Cheers
    Ash

    flojnel
    • 63 pts
      167 pts
      LEVEL 4

    Tried that and didn't solve the problem. Going to run it by host and see if there's a certificate error before looking for more WordPress fixes.

    flojnel
    • 63 pts
      167 pts
      LEVEL 4

    Solved the problem by just making the login secure, which was the original idea. Didn't need the admin to be secure - just thought it would be a nice bonus.

    Ash
    • 2,414 pts
      27,767 pts
      LEVEL 30

    Hi there

    I was away for my weekend. It's great to hear that you have solved it. I am bookmarking this thread. Nice sharing :)

    Cheers
    Ash

JOIN 388069 HAPPY MEMBERS

We pride ourselves on our level of customer support and responsiveness to member requests. Your WordPress experience will never be the same


Become a member

  • PayPal Partner