diff --git a/app/Actions/Database/StartRedis.php b/app/Actions/Database/StartRedis.php index 11534e87d..fee80be2b 100644 --- a/app/Actions/Database/StartRedis.php +++ b/app/Actions/Database/StartRedis.php @@ -302,7 +302,7 @@ class StartRedis '--tls-ca-cert-file /etc/redis/certs/coolify-ca.crt', '--tls-auth-clients no', ], - 'verify-full' => [ + 'verify-ca' => [ '--tls-port 6380', '--tls-cert-file /etc/redis/certs/server.crt', '--tls-key-file /etc/redis/certs/server.key', diff --git a/app/Livewire/Project/Database/Redis/General.php b/app/Livewire/Project/Database/Redis/General.php index 32ba0a9ad..71fbd5887 100644 --- a/app/Livewire/Project/Database/Redis/General.php +++ b/app/Livewire/Project/Database/Redis/General.php @@ -47,7 +47,7 @@ class General extends Component 'redis_username' => 'required', 'redis_password' => 'required', 'database.enable_ssl' => 'boolean', - 'database.ssl_mode' => 'nullable|string|in:require,verify-full', + 'database.ssl_mode' => 'nullable|string|in:require,verify-ca', ]; protected $validationAttributes = [ diff --git a/app/Models/StandaloneRedis.php b/app/Models/StandaloneRedis.php index b7835b4c9..2b565aa4f 100644 --- a/app/Models/StandaloneRedis.php +++ b/app/Models/StandaloneRedis.php @@ -226,7 +226,7 @@ class StandaloneRedis extends BaseModel $port = $this->enable_ssl ? 6380 : 6379; $url = "{$scheme}://{$username_part}{$this->redis_password}@{$this->uuid}:{$port}/0"; - if ($this->enable_ssl && $this->ssl_mode === 'verify-full') { + if ($this->enable_ssl && $this->ssl_mode === 'verify-ca') { $url .= '?cacert=/etc/ssl/certs/coolify-ca.crt'; } @@ -245,7 +245,7 @@ class StandaloneRedis extends BaseModel $scheme = $this->enable_ssl ? 'rediss' : 'redis'; $url = "{$scheme}://{$username_part}{$this->redis_password}@{$this->destination->server->getIp}:{$this->public_port}/0"; - if ($this->enable_ssl && $this->ssl_mode === 'verify-full') { + if ($this->enable_ssl && $this->ssl_mode === 'verify-ca') { $url .= '?cacert=/etc/ssl/certs/coolify-ca.crt'; } diff --git a/resources/views/livewire/project/database/redis/general.blade.php b/resources/views/livewire/project/database/redis/general.blade.php index eb9d7af23..28aa8dbba 100644 --- a/resources/views/livewire/project/database/redis/general.blade.php +++ b/resources/views/livewire/project/database/redis/general.blade.php @@ -85,7 +85,7 @@ - + @endif