continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Riboe <jens.ri...@ribomation.com>
Subject Re: problem with svn via https - pls help
Date Tue, 19 Feb 2008 22:12:58 GMT
OK. Thanks anyway.
I could carry on with plain http access.
    /jens


Emmanuel Venisse skrev:
> I'm sorry, but for the moment, I don't have ideas about it.
>
> Emmanuel
>
> On Feb 19, 2008 11:00 PM, Jens Riboe <jens.riboe@ribomation.com> wrote:
>
>   
>>  >>Continuum use the command line to launch svn so if svn command works
>> fine
>>  >>with the tomcat user, it should work too from Continuum.
>>
>> That's my thought too. So, where do you suggest me looking when it
>> doesn't?
>>
>> from the log I can see it executes
>> /bin/sh -c "cd /var/cache/tomcat/continuum/work && svn --non-interactive
>> checkout https://www.ribomation.com/svn/pub/DateCalc/trunk 2"
>>
>> continuum@tomcat runs as user tomcat
>> logged on as the same user, I can checkout using svn co ...
>>
>> I got around it by removing the HTTPS requirement for my svn repo
>> (accessed internally).
>> However, that's less than ideal for obvious reasons.
>>
>>
>> Emmanuel Venisse skrev:
>>     
>>> Continuum use the command line to launch svn so if svn command works
>>>       
>> fine
>>     
>>> with the tomcat user, it should work too from Continuum.
>>>
>>> Emmanuel
>>>
>>> On Feb 19, 2008 8:02 PM, Jens Riboe <jens.riboe@ribomation.com> wrote:
>>>
>>>       
>>>> I have problem with Continuum not not being able to checkout from svn
>>>> via https, because of a SSL cert validation error.
>>>>
>>>> Provider message: The svn command failed.
>>>> Command output:
>>>>
>>>>
>>>>         
>> -------------------------------------------------------------------------------
>>     
>>>> svn: PROPFIND request failed on '/svn/pub/DateCalc/trunk'
>>>> svn: PROPFIND of '/svn/pub/DateCalc/trunk': Server certificate
>>>> verification failed: issuer is not trusted (https://www.ribomation.com)
>>>>
>>>>
>>>>         
>> -------------------------------------------------------------------------------
>>     
>>>> However, I can sucessfully checkout using either of
>>>> svn co https://...
>>>> mvn scm:checkout
>>>>
>>>> the .subversion/servers file contains certs defs (CA + SSL cert)
>>>> ssl-authority-files =
>>>> /etc/certs/ribomation_com.crt.pem;/etc/certs/www_ribomation_com.crt.pem
>>>>
>>>> Continumm is running at
>>>> * Tomcat 6.0.14
>>>> * Java 1.6.0_03-b05
>>>> * Ubuntu Server 7.19  (2.6.22-14/i386)
>>>> Tomcat runs as user 'tomcat' and the checkout commands above is
>>>> performed using that user in its home dir
>>>>
>>>>
>>>> So, my question is:
>>>> What is the key difference of how Continuum handles svn (under user
>>>> tomcat) and a user 'tomcat' doing checkouts directly?
>>>> Do Continuum SCM/svn uses the settings in ~/.subversion?
>>>> Where else should I look for a configuration of svn, for usage by
>>>> Continuum?
>>>>
>>>>
>>>> Here is a log snippet, showing Continuum uses svn within a shell cmd:
>>>> 187758 [pool-1-thread-1] INFO
>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Checking out
>>>> project: 'DateCalc', id: '2' to '/var/cache/tomcat/continuum/work/2'.
>>>> 187783 [pool-1-thread-1] INFO
>>>> org.apache.maven.scm.manager.ScmManager:default  - Executing: /bin/sh
>>>>         
>> -c
>>     
>>>> "cd /var/cache/tomcat/continuum/work && svn --non-interactive checkout
>>>> https://www.ribomation.com/svn/pub/DateCalc/trunk 2"
>>>> 187784 [pool-1-thread-1] INFO
>>>> org.apache.maven.scm.manager.ScmManager:default  - Working directory:
>>>> /var/cache/tomcat/continuum/work
>>>> 187897 [pool-1-thread-1] WARN
>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Error while
>>>> checking out the code for project: 'DateCalc', id: '2' to
>>>> '/var/cache/tomcat/continuum/work/2'.
>>>> 187897 [pool-1-thread-1] WARN
>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Command output:
>>>> svn: PROPFIND request failed on '/svn/pub/DateCalc/trunk'
>>>> svn: PROPFIND of '/svn/pub/DateCalc/trunk': Server certificate
>>>> verification failed: issuer is not trusted (https://www.ribomation.com)
>>>>
>>>> 187897 [pool-1-thread-1] WARN
>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Provider
>>>>         
>> message:
>>     
>>>> The svn command failed.
>>>>
>>>> Thanks
>>>>    /jens
>>>>
>>>>         
>
>   

Mime
View raw message