From owner-freebsd-ports@FreeBSD.ORG Mon Mar 2 08:56:21 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79E80F3C for ; Mon, 2 Mar 2015 08:56:21 +0000 (UTC) Received: from smtp.mimar.rs (smtp.mimar.rs [193.53.106.135]) by mx1.freebsd.org (Postfix) with ESMTP id 27D181B6 for ; Mon, 2 Mar 2015 08:56:20 +0000 (UTC) Received: from vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) by smtp.mimar.rs (Postfix) with ESMTP id 4AC5A898CD for ; Mon, 2 Mar 2015 09:56:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mimar.rs; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:organization:message-id:subject:subject:from:from:date :date:received:received; s=mimar-0901; t=1425286565; x= 1427100966; bh=79leYZAlknGLHoYzZePe86YVTqknjytqX9Z2Bu5WSH0=; b=r KSNOWPkf0riWtfwfY46CVrgRj1EYSYwUvDq7RKXlQMbaBs5izBCLu4PlH6FW39CR ypV2f63xIL77LH0WEeYjewZTwzq8vuNph3VOv/E8qAib3ucqsMrXj4djEbMfKc/A 5LL2hg6tvp4qe83YjmVed+jhWQgjFVdvi/eG9SsuCk= X-Virus-Scanned: amavisd-new at mimar.rs Received: from smtp.mimar.rs ([193.53.106.135]) by vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) (amavisd-new, port 10026) with ESMTP id HF78KFX6QVNn for ; Mon, 2 Mar 2015 09:56:05 +0100 (CET) Received: from efreet (nat.kappastar.com [193.53.106.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by smtp.mimar.rs (Postfix) with ESMTPSA id 92976898CC for ; Mon, 2 Mar 2015 09:56:05 +0100 (CET) Date: Mon, 2 Mar 2015 09:56:05 +0100 From: Marko =?UTF-8?B?Q3VwYcSH?= To: FreeBSD Ports Subject: mail/roundcube selfsigned TLS problem after upgrade to php56 (SOLVED) Message-ID: <20150302095605.52fcd10c@efreet> Organization: Mimar X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 08:56:21 -0000 Hi, my roundcube was connecting happily to dovecot2 server over TLS for a few years, until recent upgrade of php ports (5.4 -> 5.6) and roundcube (1.0.5 -> 1.1.0). Luckily, all I needed to add to roundcube config was: $config['imap_conn_options'] =3D array( 'ssl' =3D> array( 'verify_peer' =3D> true, 'verify_depth' =3D> 3, 'cafile' =3D> '/etc/ssl/public/dovecot.pem', ), ); I found this information on archlinux forums: https://bbs.archlinux.org/viewtopic.php?id=3D193012 Hope this saves some time to someone, I had my webmail non-functional longer than I'd like to because of this change. Regards, --=20 Marko Cupa=C4=87 https://www.mimar.rs