Kolab 3.1 SSL Chwala - direct access

akh1 at yandex.ru akh1 at yandex.ru
Mon Nov 18 11:39:04 CET 2013


 

Hi All 

I have problem with Chwala 

in my installation (centos 6.4 , SSL only with signed cert) 

After i upgrade from 3.0 to 3.1 - from start Kolab - Chwala not working
at all 

What i did : 

1. in kolab_files_inc.php 

change to https 

$config['kolab_files_url'] = 'https://' . $_SERVER['HTTP_HOST'] .
'/chwala/'; 

after this chwala inside Roundcube is working ! this is good 

2. but direct Chawala access (https://www.mysite.com/chwala ) is not
working 

with error: "Internal system error!" 

in Log i see : 

[18-Nov-2013 10:19:47,000000 +0000]: PHP Error: Login failed. Unable to
connect to ssl://www.mysite.com:443. Error #0: (POST) 

3. as i understand from 

https://issues.kolab.org/show_bug.cgi?id=2149 

exist some patch 

4. i load 

http://git.kolab.org/kolab-chwala/tree/lib/file_ui_api.php?id=4e2abf2f30c42953d99adb6ad14d340cb90fb400
- new file file_ui_api.php 

and replace my /usr/share/chwala/lib/file_ui_api.php with new file 

5. 

put in kolab.inc.php 

$config['kolab_http_request'] = array(
 'ssl_verify_peer'=> true,
 'ssl_verify_host'=> false,
 'ssl_local_cert' => '/etc/ssl/www.mysite.com.crt',
 'ssl_cafile'=> '/etc/pki/tls/certs/ca-bundle.crt'
 ); 

put in config.inc.php 

$rcmail_config['kolab_http_request'] = array(
 'ssl_verify_peer' => true,
 'ssl_verify_host' => false,
 // this is distro specific
 'ssl_local_cert' => '/etc/ssl/www.mysite.com.crt',
 'ssl_cafile' => '/etc/pki/tls/certs/ca-bundle.crt',
 'ssl_capath' => ''
 ); 

BUT direct Chawala access (https://www.mysite.com/chwala ) is not
working still with same error ( PHP Error: Login failed. Unable to
connect to ssl://www.mysite.com:443. ) 

Can somebody help solve this ? 

Thanks ! 

Alexander 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20131118/a4cdda4d/attachment.html>


More information about the users mailing list