Comments (5)
OK, ive tried it using the config file instead of environment variables.
array(
'name' => 'master.xxxx.xxxx.euw2.cache.amazonaws.com',
'host' => 'tls://master.xxxx.xxxx.euw2.cache.amazonaws.com:6379',
'port' => '',
'filter' => '*',
'scheme' => 'tcp',
'path' => '',
'hide' => false,
'auth' => 'xxxx'
)
This works and seems to connect to the redis server.
from phpredisadmin.
Great, I'll keep this task open for if one day I have time to improve support and fix that port logic.
from phpredisadmin.
In theory this is already possible. I don't have a setup to test. But I think you can set host
to something like tls://hostname?ssl[verify_peer]=0
or tls://hostname?ssl[cafile]=private.pem&ssl[verify_peer]=1
. Can you check if that works?
from phpredisadmin.
Ahh yes, it should work, but looking at the code, only if you do not set the port variable.
phpRedisAdmin/includes/common.inc.php
Lines 116 to 121 in bf71b74
from phpredisadmin.
I tried not setting the port variable to see if I could use a full connection string, and alas the following code automatically sets the port setting if it doesn't exist.
phpRedisAdmin/includes/config.environment.inc.php
Lines 45 to 54 in bf71b74
I'm guessing this only becomes an issue when setting the servers from environment variables, i.e in docker. I haven't been able to try this when setting the servers from config.inc.php which I suspect will work if you don't declare a port.
from phpredisadmin.
Related Issues (20)
- 1.14 version breaks under PHP<7 HOT 5
- 'bad csrf token' appears when the primary key is deleted HOT 2
- BAD CSRF TOKEN HOT 7
- bug-web HOT 7
- Arm64 docker image HOT 3
- Why no tags for new versions? HOT 2
- reJSON HOT 2
- .htaccess HOT 1
- Uncaught Predis\Connection\ConnectionException: Error while reading line from the server. HOT 6
- Doesn't work in Cluster Mode HOT 3
- Docker secrets HOT 5
- Please support semantic versioning HOT 1
- Unable to delete keys with comma(s) HOT 7
- phpRedisAdmin does not support arm64v8 architectures HOT 4
- Deprecated: Using ${var} in strings is deprecated
- php 8.2 quirks HOT 1
- Can not connect redis localhost via docker bridge0 HOT 1
- Show number of keys without explicitly displaying them
- sites:get_sites HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpredisadmin.