Sunday, December 14, 2008

Subversion and SSL

Have you tried to access an subversion-server using SSL in Ubuntu 8.10 (Intrepid)? I guess you get complains about certificate even if they are correct. It looks like this:

svn list
Error validating server certificate for '':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname:
- Valid: from Wed, 25 Jun 2008 13:30:25 GMT until Thu, 25 Jun 2009 13:30:25 GMT
- Issuer: Linux alert, Linkoping, SE
- Fingerprint: e4:8f:b9:1b:f3:6c:f4:83:2a:1f:c6:9c:6d:cf:6a:4b:99:9e:22:1d
(R)eject, accept (t)emporarily or accept (p)ermanently?

I have my certificate installed. The solution was to install subversion and libsvn1 from backports in 8.04 (Hardy) .

$ sudo dpkg -i subversion_1.5.1dfsg1-1ubuntu2~hardy2_amd64.deb libsvn1_1.5.1dfsg1-1ubuntu2~hardy2_amd64.deb
(Reading database ... 226839 files and directories currently installed.)
Preparing to replace subversion 1.5.1dfsg1-1ubuntu2~hardy2 (using subversion_1.5.1dfsg1-1ubuntu2~hardy2_amd64.deb) ...
Unpacking replacement subversion ...
dpkg - warning: downgrading libsvn1 from 1.5.1dfsg1-1ubuntu2 to 1.5.1dfsg1-1ubuntu2~hardy2.
Preparing to replace libsvn1 1.5.1dfsg1-1ubuntu2 (using libsvn1_1.5.1dfsg1-1ubuntu2~hardy2_amd64.deb) ...
Unpacking replacement libsvn1 ...
Setting up libsvn1 (1.5.1dfsg1-1ubuntu2~hardy2) ...

Setting up subversion (1.5.1dfsg1-1ubuntu2~hardy2) ...
Processing triggers for man-db ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
After this it looks better.

$ svn list
Authentication realm: LinuxAlert
Password for 'magru':
The version of subversion is the same but it is linked using other libraries.

No comments: