[Modules] [mod_gnutls 0.4.1] Failed to Import Certificate : (-50) The request is invalid.

Romain LE DISEZ romain.ledisez at netensia.fr
Tue Dec 4 03:52:47 EST 2007


I'm running Debian Etch so I needed to compile GNUTls myself because it
isn't packaged for version 2.1.7.

What I did :
 - compile and install libgcrypt (1.3.1 needed by gnutls 2.1.7) :
./configure --prefix=/opt/libgcrypt-1.3.1

 - compile and install gnutls with MY libgcrypt :
./configure --prefix=/opt/gnutls-2.1.7
--with-libgcrypt-prefix=/opt/libgcrypt-1.3.1

 - compile mod_gnutls with MY gnutls :
./configure --prefix=/usr --with-libgnutls=/opt/gnutls-2.1.7

Some commands :
# ldd /opt/gnutls-2.1.7/lib/libgnutls.so
libgcrypt.so.11 => /opt/libgcrypt-1.3.1/lib/libgcrypt.so.11 (0xb7ee9000)

# ldd /usr/lib/apache2/modules/mod_gnutls.so-0.4.1
libgnutls.so.26 => /opt/gnutls-2.1.7/lib/libgnutls.so.26 (0xb7f66000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7efb000)

So, yes, there is a conflict with libgcrypt. But there is no way to
force libgcrypt path with configure script. I tried :
./configure --prefix=/usr --with-libgnutls=/opt/gnutls-2.1.7
--with-libgcrypt-prefix=/opt/libgcrypt-1.3.1

But it doesn't solve the problem. I think configure script needs a flag
to specifie path to libgcrypt.

Le lundi 03 décembre 2007 à 23:47 +0200, Nikos Mavrogiannopoulos a
écrit :
> This can happen 1. if there is a conflict with libgcrypt in your system  
> 2. if there is a conflict with the libtasn1 library installed.
> 
> Please check that you don't have two versions of these libraries that conflict 
> with each other, and that you have the required versions for gnutls to 
> compile. 

-- 
Romain LE DISEZ
Netensia




More information about the Modules mailing list