LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certif (https://www.linuxquestions.org/questions/linux-server-73/error-on-svn-checkout-ssl-handshake-failed-ssl-error-key-usage-violation-in-certif-942294/)

jsaravana87 04-28-2012 11:55 AM

Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certif
 
Hi
when i tried to checkout file using svn server ,im getting out following error.Distro os :Centos 6.2 .I finding ou lots of solution for ubuntu fix for these problem but i could int any solution for centos version.Any help regarding fixing up of these bug

But i could int find libneon-gnutls.so.27 in /usr/lib64/

mv /usr/lib64/libneon-gnutls.so.27 /usr/lib64/libneon-gnutls.so.27.old
ln -s /usr/lib64libneon.so.27 /usr/lib64/libneon-gnutls.so.27

Quote:

yum whatprovides "*libneon-gnutls.so.27*"
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
No Matches found
Quote:

[root@localhost ~]# yum install libneon*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Setting up Install Process
No package libneon* available.

rror: Nothing to do
Quote:

[root@localhost ~]# yum install neon*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Setting up Install Process
Package neon-0.29.3-1.2.el6.x86_64 already installed and latest version
Package neon-devel-0.29.3-1.2.el6.x86_64 already installed and latest version
Nothing to d
o


I could just find below dependency after installation of neon

Quote:

[root@localhost ~]# cd /usr/lib64/libneon.
libneon.la libneon.so libneon.so.27 libneon.so.27.2.3
Quote:

ldd '/usr/bin/svn'
linux-vdso.so.1 => (0x00007fffbf275000)
libsvn_client-1.so.0 => /usr/lib64/libsvn_client-1.so.0 (0x00007ff11551d000)
libsvn_wc-1.so.0 => /usr/lib64/libsvn_wc-1.so.0 (0x00007ff1152d4000)
libsvn_ra-1.so.0 => /usr/lib64/libsvn_ra-1.so.0 (0x00007ff1150c9000)
libsvn_diff-1.so.0 => /usr/lib64/libsvn_diff-1.so.0 (0x00007ff114ebe000)
libsvn_ra_local-1.so.0 => /usr/lib64/libsvn_ra_local-1.so.0 (0x00007ff114cb6000)
libsvn_repos-1.so.0 => /usr/lib64/libsvn_repos-1.so.0 (0x00007ff114a8b000)
libsvn_fs-1.so.0 => /usr/lib64/libsvn_fs-1.so.0 (0x00007ff114884000)
libsvn_fs_fs-1.so.0 => /usr/lib64/libsvn_fs_fs-1.so.0 (0x00007ff11465c000)
libsvn_fs_base-1.so.0 => /usr/lib64/libsvn_fs_base-1.so.0 (0x00007ff11442c000)
libsvn_fs_util-1.so.0 => /usr/lib64/libsvn_fs_util-1.so.0 (0x00007ff11422a000)
libsvn_ra_svn-1.so.0 => /usr/lib64/libsvn_ra_svn-1.so.0 (0x00007ff114012000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007ff113df7000)
libsvn_ra_neon-1.so.0 => /usr/lib64/libsvn_ra_neon-1.so.0 (0x00007ff113bd3000)
libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00007ff1139c8000)
libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0 (0x00007ff113776000)
libz.so.1 => /lib64/libz.so.1 (0x00007ff113560000)
libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007ff1132d1000)
libaprutil-1.so.0 => /usr/lib64/libaprutil-1.so.0 (0x00007ff1130ac000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007ff112e75000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff112c4d000)
libdb-4.7.so => /lib64/libdb-4.7.so (0x00007ff1128d8000)
libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x00007ff1126ac000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff112490000)
libneon.so.27 => /usr/lib64/libneon.so.27 (0x00007ff112265000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff111ec4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff111cbf000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff111aa5000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007ff1118a0000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007ff11163e000)
/lib64/ld-linux-x86-64.so.2 (0x0000003d9da00000)
libgnutls.so.26 => /usr/lib64/libgnutls.so.26 (0x00007ff11139c000)
libpakchois.so.0 => /usr/lib64/libpakchois.so.0 (0x00007ff111196000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007ff110f54000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007ff110c74000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007ff110a48000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007ff110844000)
libproxy.so.0 => /usr/lib64/libproxy.so.0 (0x00007ff11063c000)
libtasn1.so.3 => /usr/lib64/libtasn1.so.3 (0x00007ff11042c000)
libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007ff1101b6000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007ff10ffab000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff10fda8000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff10fb23000)
libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007ff10f91f000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff10f6ff000)

Erfankam 05-06-2012 07:48 AM

Sometimes you need to update library cache in your OS. You can use this command after full installation of your application to update your library cache:
Code:

ldconfig
after that, I think you have find your problem solved.

sanjay87 05-06-2012 07:57 AM

Hi ARUN,
recompile neon as following
Correcting GNU-TLS issue in CENTOS 6.2
1. Download neon source

yumdownloader –source neon
// This will give neon-0.29.5-2.fc15.src.rpm

2. Install source RPM

rpm -i neon-0.29.5-2.fc15.src.rpm

// This will create rpmbuild directory in home folder

3. cd ~/rpmbuild

4. Edit build spec

vim SPECS/neon.spec

Change “–with-ssl=gnu-tls” to “–with-ssl”

Save & Quit

5. Rebuild pacakges

rpmbuild -ba SPECS/neon.spec

// This will create rpm pacakges in RPMS/i686/ folder
Note: Depending on your system rpmbuild may ask for dependencies; please provide it using yum install

6. Install newly created RPMS

cd RPMS/i686/
rpm -e –nodeps neon
rpm -e –nodeps neon-devel
rpm -ivh neon-0.29.5-2.fc15.i686.rpm neon-devel-0.29.5-2.fc15.i686.rpm

Have a nice day.

Jayakumar

28 Feb 12 at 6:24 am

sanjay87 05-07-2012 10:00 AM

Thanks arun.
Problem fixed


All times are GMT -5. The time now is 03:15 PM.