• I use Flexible SSL via Cloudflare.

    I edited my wp-config.php with:

    if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) {
        $_SERVER['HTTPS'] = 'on';
    }

    and
    define('FORCE_SSL_ADMIN', true);

    Everything was fine till I decided to update my WordPress Multisite. I did it with succeed, but after starting Upgrade Network I received an error:

    Warning! Problem updating https://example.com. Your server may not be able to connect to sites running on it. Error message: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14077410:SSL routines:func(119):reason(1040) stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://example.com:443 (Unknown error)

    I had to disable SSL and run upgrade from HTTP.

    How to fix this in future?

    • This topic was modified 5 years, 8 months ago by spello.
    • This topic was modified 5 years, 8 months ago by spello.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress HTTPS issue (Flexible SSL – Cloudflare)’ is closed to new replies.