You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mala Dibbs <gr...@yahoo.de> on 2009/10/08 14:37:12 UTC

Server certificate verification failed: (ssl-authority-files)

Hi,

I need to accept an untrusted certificate in --non-interactive mode.
I read in the subversion book that it obviously has something to do with the 
ssl-authority-files directive in the servers config file.

So this is what I did:

1. Opened the repository (https://host1/repo) in Firefox.
2. Page Info -> Security -> View Certificate -> Export as X.509 (PEM)
3. Uploaded that pem to the server which is running the subversion client
4. Moved the pem to /etc/ssl/certs
5. Modified /etc/subversion/servers with
ssl-authority-files = /etc/ssl/certs/host1.pem;
6. Restarted the apache2

Unfortunately if I do:
svn list https://host1/repo --non-interactive --username=peter --password=gugu
it still gives me:
Server certificate verification failed: certificate issued for a different 
hostname (https://host1)

Do I need an other certificate from host1?
How can I fix this?

Greets, mala

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2405077

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].