svn: PROPFIND request failed. Server certificate verification failed: 
certificate issued for a different hostname, issuer is not trusted
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: CONTINUUM-2133
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2133
             Project: Continuum
          Issue Type: Bug
          Components: SCM
    Affects Versions: 1.2.3
         Environment: Linux
            Reporter: Felix Röthenbacher


Updating from a Subversion repository using https with a SSL certificate which 
needs to be accepted first fails when run under a different user (run-as-user).

The shell start script for Continuum has an option to run Continuum as a 
different user. The problem is that su preserves the current environment not
setting the HOME environment variable to the run-as user's home. Hence svn does 
not pickup any permanently accepted SSL certificates under the users
$HOME/.subversion/auth/svn.ssl.server/ directory.

Workaround is to specify the HOME directory of the user running Continuum in 
the startup script.

Alternatively, the su command could use a direct login shell instead of 
preserving the current environment but not sure if there are any
security issues to consider.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to