-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
GLPI 11 Fix CLI database install command to support ssl #23754
Copy link
Copy link
Open
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Disable plugins
- I reproduce the issue with all plugins disabled
Is there an existing issue for this?
- I have searched the existing issues
Version
11.0.6
Bug description
The bin/console database:install --no-interaction command can initialize GLPI database on deployment script, by pre-staging config/config_db.php file with appropriate contents.
However this works only when MySQL servers are allowing non-SSL connection. In case of strict security requirements of using connection with SSL, this command will result to have connection failure, even though the config_db.php was appropriatelly prepared with parameters of SSL connection.
Relevant log output
n/aPage URL
No response
Steps To reproduce
- Prepare Mysql database disallow non-SSL connection
- Prepare config_db.php file with SSL config
- Execute bin/console db:install --no-interaction
- Error about db connection failure and db installation cannot be made.
Your GLPI setup information
N/A
Since the glpi installation is not made for this situation, there are no setup information.
Usage of MySQL database server provided by Cloud service.
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels