| Summary: | P2 does not handle self signed certificates | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | David Carver <d_a_carver> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | david_williams, irbull, kmbulebu, torkildr |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
David Carver
Here's an example, trying to install pydev from the command line. Command-line arguments: -os linux -ws gtk -arch x86 -D osgi.support.signature.verify=false -consolelog -application org.eclipse.equinox.p2.director -repository http://pydev.org/updates,http://download.eclipse.org/releases/helios -installiu org.python.pydev.feature.feature.group !ENTRY org.eclipse.equinox.p2.engine 8 0 2010-10-28 16:59:27.828 !MESSAGE One or more certificates rejected. Cannot proceed with installation. *** This bug has been marked as a duplicate of bug 215929 *** These comments are in response to Ian's questions on p2 dev list: http://dev.eclipse.org/mhonarc/lists/p2-dev/msg05164.html I'm moderately sure p2 will check the existing "Java store" (or even system store) for trusted certs, have you tried with recent versions of p2? I ask this, just because of other bugs I vaguely recall where at first that wasn't working right. And fixed in Juno, I believe. And, if not that, I think there are "external" parameters that can be used to tell any client which store to use? I've never done any of this myself, and its reasonable to ask for an easy way to do it ... like browsers to .... but ... some simple searches appear to show "how to" do it ... rather than disable the function, as Ian asks in his post. Such as https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html/Security_Guide/ch15s02s02.html or http://blogs.adobe.com/livecycle/2012/04/rights-management-how-to-get-windows-7-to-trust-a-self-signed-server-certificate.html But, again, not speaking from experience. (In reply to comment #3) > I'm moderately sure p2 will check the existing "Java store" (or even system > store) for trusted certs, have you tried with recent versions of p2? I ask > this, just because of other bugs I vaguely recall where at first that wasn't > working right. And fixed in Juno, I believe. > > And, if not that, I think there are "external" parameters that can be used > to tell any client which store to use? > > I've never done any of this myself, and its reasonable to ask for an easy > way to do it ... like browsers to .... but ... some simple searches appear > to show "how to" do it ... rather than disable the function, as Ian asks in > his post. > Thank-you David. I think this demonstrates my lack of experience in this area as I assumed that when I 'proceed' to a site with a self signed certificate, I was simply disabling the validation for that site. Yes, importing the self signed certificate into a local store seems like a bunch better approach. The hardest part about searching is knowing what to search for ;-). I will try this out and if it works, I think I have the next topic for my blog post. Thanks again. |