Can't Index Subversion Repository Due to Error, 'Server SSL ceritificate for SVN_URL cannot be saved'
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When indexing a Subversion repository using https://
the following error is visible in the logs:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2009-10-07 00:15:41,724 WARN [InitialPinger1] fisheye.app com.cenqua.fisheye.svn.SvnRepositoryTester-getServerRootURL - Unable to get info for the repository root
com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Server SSL ceritificate for 'https://SVN_URL:443' cannot be saved
at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:108)
at com.cenqua.fisheye.svn.SvnRepositoryTester.getServerRootURL(SvnRepositoryTester.java:89)
at com.cenqua.fisheye.svn.SvnRepositoryTester.checkRepoSettings(SvnRepositoryTester.java:72)
at com.cenqua.fisheye.svn.SvnRepositoryScanner.checkRepoSettings(SvnRepositoryScanner.java:348)
at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepo(SvnRepositoryScanner.java:261)
at com.cenqua.fisheye.rep.RepositoryScanner.startRepo(RepositoryScanner.java:223)
at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:153)
at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:121)
...
Caused by: org.tigris.subversion.javahl.ClientException: svn: Server SSL ceritificate for 'https://SVN_URL:443' cannot be saved
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
...
... 17 more
Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: Server SSL ceritificate for 'https://SVN_URL:443' cannot be saved
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32)
...
Cause
The Fisheye user needs to have a home directory or some place to write the .subversion
files for authentication (see SVN Configuration Area Layout).
Resolution
Create the home directory for the Fisheye user. Run the following command on the command line:
1
svn info https://SVN_URL:443
Supply the username and password provided in Fisheye and verify if the returned output is as expected.
Alternatively, you can use svnsync to mirror the repository onto the server where Fisheye is located and then access the mirrored repository using file://
protocol which is much faster than https://
(see Tuning Fisheye).
Was this helpful?