Closed akselikap closed 3 years ago
I didn't know how this should be versioned etc so I didn't really touch that part.
Could you please add changelog line as well? I don't believe we can unit test this in some straight way but if you know how please do.
Could you please add changelog line as well? I don't believe we can unit test this in some straight way but if you know how please do.
I made the changes to CHANGELOG.md. I didn't see any tests for the useSSL-option either so I think this falls into the same category.
Thanks.
At the moment it's impossible to use a Redis which uses a self-signed certificate. This PR adds a new option sslContextOptions which exposes the ssl context options (https://www.php.net/manual/en/context.ssl.php) to users. The only thing I'm not 100% sure of is whether or not the stream_context_create -function returns the default settings which would be used anyway if it's called without any parameters. I assume this is the case but someone who has more knowledge could confirm that.