[Csync2] SSL support

Mark Watts m.watts at eris.qinetiq.com
Fri Nov 4 10:23:00 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/03/2011 02:11 PM, Lee Clemens wrote:
> 
> 
>> -----Original Message-----
>> From: csync2-bounces at lists.linbit.com [mailto:csync2-
>> bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
>> Sent: Thursday, November 03, 2011 5:51 AM
>> To: csync2 at lists.linbit.com
>> Subject: Re: [Csync2] SSL support
>>
>> On Wed, Nov 02, 2011 at 09:21:36PM +0000, Lee Clemens wrote:
>>> Hi,
>>>
>>> I have installed csync2-2.0rc1 (from git) and generated the key and
>>> certificate files.
>>> Configure was run without any additional arguments.
>>>
>>> However, when I run csync2 -x, I receive the following error:
>>>
>>> ERROR: Config request SSL but this csync2 is built without SSL support.
>>> ERROR: Connection to remote host `<hostname>' failed.
>>> Finished with 2 errors.
>>>
>>> GnuTLS and OpenSSL are installed.
>>>
>>> I confirmed config.h contains:
>>> #define USE_GNUTLS 1
>>>
>>> Although HAVE_LIBGNUTLS_OPENSSL is not included in config.h
>>>
>>> Is there an option I need to supply to the configure script? Or
>>> something else I am missing?
>>
>>
>> No ssl development headers available at compile time?
> 
> Both openssl-devel and gnutls-devel are installed.
> 
>>
>> --
>> : Lars Ellenberg
>> : LINBIT | Your Way to High Availability
>> : DRBD/HA support and consulting http://www.linbit.com
>> _______________________________________________
>> Csync2 mailing list
>> Csync2 at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/csync2
>>
>>
>> _______________________________________________
>> Csync2 mailing list
>> Csync2 at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/csync2


I had a similar issue when building on CentOS 6. If your sis the same,
its a problem with the Makefile.

I had to apply the attached patch to get SSL support compiled in; its
been posted to this list before I think.

Mark.

- -- 
Mark Watts BSc RHCE
Senior Systems Engineer, MSS Secure Managed Hosting
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/

iEYEARECAAYFAk6zrvQACgkQBn4EFUVUIO38RQCfb+/N+EohneRuAiFSxZwVVWHZ
r0EAoJ+vhahWsNkoOM1JeZt8+XA6CB2B
=QRg5
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: csync2-GNUTLS.patch
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111104/8addb73b/attachment.asc>


More information about the Csync2 mailing list