Kolab 3.1 SSL Chwala - direct access and form Roundcube

akh1 at yandex.ru akh1 at yandex.ru
Thu Dec 12 15:54:59 CET 2013


 

OK, i solved my problems (direct chwala and chwala form roundcube
through SSL ) 

so, writhing, my be this will help to somebody else 

1. Answer which i see like this : 

-----Ursprüngliche Nachricht-----
Von: users-bounces at lists.kolab.org
[mailto:users-bounces at lists.kolab.org] Im
Auftrag von Timotheus Pokorra
Gesendet: Mittwoch, 4. Dezember 2013 19:47
An: users at lists.kolab.org
Betreff: Re: AW: Troubles getting Chwala running 

Hello Henrik, 

Did you try the Howto from Daniel Hoffend, that has been mentioned in
this
thread:
https://gist.github.com/dhoffend/7008915 

You might also want to look at my script that is based on the howto from
Daniel:
https://github.com/tpokorra/kolab3_tbits_scripts/blob/master/kolab3.1/initSS
L.sh 

2. I try but this is not helped 

3. in link 

https://gist.github.com/dhoffend/7008915 

advised to edit 

/ETC/ROUNDCUBEMAIL/CONFIG.INC.PHP 

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

but this is not helped 

4. at end i understand form this : 

On 12/10/2013 10:30 AM, Manganneau wrote:

> No such file (/etc/roundcubemail / kolab.inc.php) But i have /etc/roundcubemail / libkolab.inc.php which contains $config['kolab_cache'] = true; Maybe because it is a 3.0 upgraded to 3.1 ?

Check if the file is linked to
/usr/share/iRony/lib/plugins/libkolab/config.inc.php and
/usr/share/chwala/lib/kolab/plugins/libkolab/config.inc.php and
/usr/share/roundcubemail/plugins/libkolab/config.inc.php.

5. 

so,,, key is to edit 

libkolab.inc.php 

and add to it same 

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

and after Chwala from roundcube is working ! 

6. my personal opinion - advises no correct 

Thanks to all 

akh1 at yandex.ru писал 2013-11-18 14:39: 

> 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 
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users [1]
 

Links:
------
[1] https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20131212/330fdcae/attachment.html>


More information about the users mailing list