I have a server that has been in production for a few years. I'm trying to scale my performance, but I'm having problems with the Redis session driver.
My setup is the following:
- DigitalOcean Redis cluster.
- LetsEncrypt on Nginx
- Redis encrypt policy
allkeys-lru
- Predis
My config/database.php looks like the following:
'redis' => [
'options' => [
...,
'ssl' => [
'verify_peer' => false,
'allow_self_signed' => true,
'verify_peer_name' => false,
]
],
'default' => [
'scheme' => 'tls',
...,
]
]
When I try to update change my session driver in the .env file, I get a fatal error that crashes my whole website.
Why do I get the following error?
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version {"exception":"[object] (ErrorException(code: 0): stream_socket_enable_crypto(): SSL operation failed with code 1
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire