Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311204

Summary: p2 director fails to install on pde build because of a certificate been rejected
Product: [Eclipse Project] Equinox Reporter: Benno Baumgartner <benno.baumgartner>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Ed.Merks, heath.borders
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Hudson build log none

Description Benno Baumgartner CLA 2010-04-30 12:09:20 EDT
Created attachment 166634 [details]
Hudson build log

Eclipse M6
Linux 2.6.31-21-server #59-Ubuntu x86_64 GNU/Linux

We have a PDE headless build executed by hudson. The build worked until today. We've updated the JRE from:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
to 1.6.0_20 and from there one the PDE build failed when running the p2.director:

 [stderr] [p2.director] One or more certificates rejected. Cannot proceed with installation.
   [stderr] A problem occured while invoking the director.

(see the attachment for full log)
I've downgraded the VM to 1.6.0_15 again and the build succeeded.

I assume that this is not a p2 bug but I file it anyway against p2 because it is the failing component.
Comment 1 Heath Borders CLA 2010-04-30 15:08:35 EDT
This might be a duplicate of bug 309059
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:30:14 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Ed Merks CLA 2020-02-20 00:51:27 EST
Generally  missing certificate problems can only be fixed by using a VM with the appropriate/necessary root certificates or specifying a VM system property that references a certificate store with the necessary certificates:

https://stackoverflow.com/questions/5871279/java-ssl-and-cert-keystore