SVN authorization

Craig Treleaven ctreleaven at
Thu Aug 6 05:52:22 PDT 2015

> On Aug 5, 2015, at 11:20 PM, Mihai Moldovan <ionic at> wrote:
> On 06.08.2015 02:53 AM, Craig Treleaven wrote:
>> I vaguely recall running an svn command to add MacPorts as a trusted server (or some-such) but I don’t recall the details.  
>> Could someone point me in the right direction?
> Refer to and specifically to
> Step 3 under "Configuration”.

Thanks for the pointer.  As I read the page, I only need to do the second part--storing the certificate file in [blah]/.subversion/auth/svn.ssl.server.  However, trying to selfupdate, I still get:

--->  Updating the ports tree
Synchronizing local ports tree from file:///Users/craigtreleaven/mp/ports
Updating '.':
svn: E175002: Unable to connect to a repository at URL ''
svn: E175002: OPTIONS of '': Server certificate verification failed: issuer is not trusted (
Command failed: /usr/bin/svn update --non-interactive /Users/craigtreleaven/mp/ports
Exit code: 1

I wonder if it is the ownership/permissions of the certificate file.  The wiki page doesn’t say so, but I had to use ‘sudo’ to create the directory and write the certificate file to it. 

$ sudo ls -al /opt/local/var/macports/home/.subversion/auth/svn.ssl.server
total 8
drwxr-xr-x  3 root  admin   102  6 Aug 08:27 .
drwx------  6 root  admin   204  5 Aug 20:19 ..
-rw-r--r--  1 root  admin  1806  6 Aug 08:27 9368d05e066fecedad33aa815bbaf7cc

Finally, I checked a backup of my 10.6 volume and I didn’t even have a '/opt/local/var/macports/home/.subversion/auth/svn.ssl.server’ directory?


More information about the macports-dev mailing list