Troubleshooting

Use this Go community space to get help troubleshooting any product related issues.

This is a public Discussion Area  publicRSS

Post

    vanillaike
    svn https Server certificate verification
    Post posted April 22, 2009 by vanillaike
    13146 Views, 7 Comment
    Topic:
    svn https Server certificate verification
    Body:

    I'm trying to set up Cruise Server and I'm getting this error when trying to check out code:

    Scheduler failed during modification check for pipeline: BenefitFocusTranslator_CompassBilling
    Error performing command: --- Command --- svn --username Cruise --password cruise log --non-interactive --xml -v --limit 1 https://Domain:8443/svn/Repo1/ProjectPath/branches/Project --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- ERROR: svn: OPTIONS of 'https://Domain:8443/svn/Repo1/ProjectPath/branches/Project': Server certificate verification failed: issuer is not trusted (https://Domain:8443) ---

    I've already downloaded and accepted the certificate, so I don't understand why I'm still getting this error.

    Comment

    • Wei Xu
      posted April 22, 2009 by Wei Xu

      Hi vanillaike:

        You need to accept the certificate under the user we run cruise, so for different operating system, please try the following steps:

      • Linux: 1. first change to cruise user: sudo su cruise 2. then run svn log command to accept the certificate using permanently option
      • Windows: open control panel/services, then open cruise agent service properties, and change the user to a specified user and accept the certificate using that user.

      Best Regards,

      Xu Wei

    • vanillaike
      posted April 23, 2009 by vanillaike

      Thank you,

      That took care of my problem!

      vanillaike

    • GJ
      posted June 17, 2009 by GJ

      Hi,

      I have a similar problem, but I have followed the instructions above and on http://community.thoughtworks.com/posts/50df88d6a2 to no avail.

      The Server and Agent are both running as the svn user, I have logged in to the server as that windows user and connected successfully using svn.exe and permanently accepted the certificate. Has anyone managed to get this working using the windows security rather than svn users and groups?

      I have over 100 projects in this respository, so I don't want to change the security or to http...

      Thanks,

      GJ

    • Li Yanhui
      posted June 18, 2009 by Li Yanhui

      Hi GJ, I don't understand your problem, my question is:

      What do you mean for "server and agent are running as svn user"?

      In terms of "running as" I assume it means the windows user. Then you need to make sure logged in as this user you can access your svn repository correctly.

    • GJ
      posted June 18, 2009 by GJ
      I can log on as my svn user to my cruise server and access my repository using svn.exe via https and have saved the certificate permanently. The server and agent run as the svn windows user as well.
    • Li Yanhui
      posted June 18, 2009 by Li Yanhui

      Then, can the Cruise server access svn https server? If not, take a look at the Log On of the Cruise Server service, make sure the Log On user is the correct one that has saved svn server certificate.

      windows_services_owner.jpg

    • GJ
      posted June 19, 2009 by GJ

      Li,

      I have put a more thorough description here:

      http://community.thoughtworks.com/posts/87dc2eb8c6

      Thanks,

      GJ