Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1486360 closed Feature Requests (wontfix)

Provide option to use DB connection with SSL

Reported by: tempuser Owned by:
Priority: 5 Milestone: later
Component: Database Version: 0.3.1
Severity: minor Keywords:
Cc:

Description

AFAIKT, there is currently no way to connect to a database using SSL. My database refuses unencrypted connections, so I enabled this in my installation as so:

--- program/include/rcube_mdb2.php.orig 2009-09-04 15:07:48.000000000 +0200
+++ program/include/rcube_mdb2.php      2009-12-10 15:12:35.070003006 +0100
@@ -83,6 +83,7 @@
         'emulate_prepared' => $this->debug_mode,
         'debug' => $this->debug_mode,
         'debug_handler' => 'mdb2_debug_handler',
+        'ssl' => true,
         'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL);
 
     if ($this->db_provider == 'pgsql') {

A config-driven approach would be nice, though.

Regards,
Chris

Change History (3)

comment:1 Changed 4 years ago by alec

  • Milestone changed from 0.4-beta to later

comment:2 Changed 4 years ago by alec

  • Resolution set to wontfix
  • Status changed from new to closed

comment:3 Changed 4 years ago by tempuser

Ah yes, my bad.

I confused the Debian mechanism for configuring DB access with the "pure" one. Debian provides a front-end for configuring packages' DB access; the current roundcube setup there does not permit one to specify a DSN, only components thereof in a separate config file. I'll file a bug there.

Thanks

Note: See TracTickets for help on using tickets.