[ 
http://jira.codehaus.org/browse/CONTINUUM-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192688#action_192688
 ] 

Tomasz Zieleniewski commented on CONTINUUM-2264:
------------------------------------------------

Hi All,

The problem is not in the certificate it self but in the Continuum startup 
script.
Importing the certificate doesn't solve the problem.
Continnuum has an opportunity to be started under particular system user and
at the same invokes the svn command with some environment settings 
(I am considering Linux, similar probably applies for Windows).
Continuum startup script invokes su command and preservs current environment 
without
setting the $HOME environment variable. This disables svn to pickup the 
permanently 
accepted SSL certificates. In order to overcome this there is a simple fix 
which works 
for me under Debian OS. One just need to add the -l, --login option to su 
invocation 
which causes the $HOME environment variable to be set, after which svn works 
fine 
(still preserving current environment!)

Now:
# Still want to change users, recurse.  This means that the user will only be
#  prompted for a password once. Variables shifted by 1
su -m $RUN_AS_USER -c "\"$REALPATH\" $2"

After fix:
# Still want to change users, recurse.  This means that the user will only be
#  prompted for a password once. Variables shifted by 1
su -m $RUN_AS_USER -c "\"$REALPATH\" $2" -login

Hope this helps:)

Kind regards,
- Tomasz Zieleniewski

> error message "Server certificate verification failed" on continuum.
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-2264
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2264
>             Project: Continuum
>          Issue Type: Bug
>          Components: Notification Subsystem
>    Affects Versions: 1.2.3
>         Environment: continuum installed --> Windows XP.
> tomcat --> 6.0
> continuum versiong --> 12.3
>            Reporter: TaeSangGu
>            Assignee: Brett Porter
>            Priority: Critical
>
> Dear all :)
> The Subversion (commandline and Tortoise client) works fine from the same 
> machine.
> for example) svn co https://hostname/trunk.
>                         svn list https://hostname/trunk.
> But it works not svn only continuum as below.
> {quote}
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: OPTIONS of 'https://hostname/svn/blabla/trunk/': Server certificate 
> verification failed: certificate issued for a different hostname, issuer is 
> not trusted (https://hostname)
> -------------------------------------------------------------------------------
> {quote}
> I think it need to use certificate on continuum.
> So, I found jira, aparch group of continuum , but I could't solve it. 
> Could you please tell me how to solve?
> Thanks regards.

-- 
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