• Resolved msilb0r

    (@msilb0r)


    Hi,

    I would like to add ssl parameters like ‘verify_peer_name’ and ‘verify_peer’ with value.

    Is there an env that I can use or another way?

    I am using predis as the client and there it is possible to add the parameter like :

    $client = new Predis\Client([
      'scheme' => 'tls',
      'ssl'    => ['cafile' => 'private.pem', 'verify_peer' => true],
    ]);

    Kind regards,
    Martin

    • This topic was modified 5 years, 6 months ago by msilb0r.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter msilb0r

    (@msilb0r)

    Hello again,

    I found a solution for this case.

    In object-cache.php:503 I added ‘ssl’
    and in my envs I defined: define('WP_REDIS_SSL', ['verify_peer' => false, 'verify_peer_name' => false]); works like a charm.

    My question is now, if this a “pro” feature or shall I create a PR for that?

    Kind regards,
    Martin

    Plugin Author Till Krüss

    (@tillkruess)

    Hi @msilb0r!

    Cool, feel free to create a PR 👍🏻

    Thread Starter msilb0r

    (@msilb0r)

    Hi @tillkruess,

    I just created a PR.

    See you there 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to add ssl parameters’ is closed to new replies.