Summary
This article discusses how to configure TFS for use with HTTPS in FlexNet Code InsightSynopsis
Steps to resolve the issue TFS HTTPS(sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException)
1.Get TFS server certificate(HTTPS) and file look like <"XYZ.cer">.
i.Go to server machine where tfs server is installed.
ii.Go to IE browser settings: Select Internet option==> Got content tab.
iii.Click on certificate ==> trusted root certificate autority ==> export the certificate with <hostname>.
2.Import <"XYZ.cer"> certificate to "\jre1.8.0\lib\security"(where CodeInsight application is installed) by using below command.
keytool -keystore cacerts -importcert -file <"XYZ.cer"> -alias tfs
Note: After executing above command, give the password and Accept the trusted certificate by giving yes value.
3.Download and extract TFS client(add to Path environment variable).
4.Enable the tfs option,in "scm.properties" file.
5.Start the tomcat server with new command line session.
Below are the scenario covered.
1. Verified the option of "TFS Update To" .i.e "Latest Changeset","Specific Changeset" and "Label" ==> Working as expected.
2. Verified below URL format for TFS 2015(http and https):
http://<server>:<port>/<tfsroot>/<collection>/<project>
http://<server>/<tfsroot>/<collection>/<project>
https://<server>:<port>/<tfsroot>/<collection>/<project>
https://<server>/<tfsroot>/<collection>/<project>
3. Verified below URL format for TFS 2017(http and https):
http://<server>/<collection>/<project>
https://<server>/<collection>/<project>
4. Verified below URL format for TFS 2012 update1(http):
http://<server>/<tfsroot>/<collection>/<project>
Covered below SCM:
Perforce HTTP , Git , SVN HTTP
Related Articles
Setting up SSO for FlexNet Code Insight 4Number of Views If FlexNet Code Insight TFS password contains special character '&' than it is divided into several parts before and after… 4Number of Views HTTP 401 Error in FlexNet Code Insight When Using the Ant Plugin 3Number of Views Update from FlexNet Code Insight 6.12.1 to FlexNet Code Insight 2018 R1 3Number of Views Exporting workspaces error in FlexNet Code Insight 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago