Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox p2 : check the certificate
Equinox p2 : check the certificate [message #540594] Wed, 16 June 2010 15:35 Go to next message
Batistuta  is currently offline Batistuta Friend
Messages: 4
Registered: June 2010
Junior Member
Hi everybody,

I've created an OSGi platform with equinox. I'm able to install some plugin via the equinox p2 User Interface. So, it means that I can use "Help-> Install new software" as in Eclipse.

I wonder if it's possible to authorize only few plugins to be installed. I'd like to autorize the installation of the plugin signed by my own certificate.

Is it possible to do that?

Many thanks,


Bat
Re: Equinox p2 : check the certificate [message #540881 is a reply to message #540594] Thu, 17 June 2010 14:26 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There is an abstract class org.eclipse.equinox.p2.core.UIServices, this is
used by p2 when checking certificates. UI surfaces this as a prompt to the
user, but headless situations can do other things.

I don't know alot of the details here, but you can look at implementing your
own UIService, and registering it with the IProvisioningAgent. Your
implementation could then trust your own certificates.

-Andrew

Batistuta wrote:

> Hi everybody,
>
> I've created an OSGi platform with equinox. I'm able to install some
> plugin via the equinox p2 User Interface. So, it means that I can use
> "Help-> Install new software" as in Eclipse.
>
> I wonder if it's possible to authorize only few plugins to be installed.
> I'd like to autorize the installation of the plugin signed by my own
> certificate.
>
> Is it possible to do that?
>
> Many thanks,
>
>
> Bat
Re: Equinox p2 : check the certificate [message #540892 is a reply to message #540594] Thu, 17 June 2010 14:46 Go to previous message
Batistuta  is currently offline Batistuta Friend
Messages: 4
Registered: June 2010
Junior Member
Thanks for you answer.

Another thing, could you confirm me that it's possible to install a non-signed-Bundle without the equinox p2 User interface. I mean, only by modifying the directeroy of the RCP application and some files.

It is correct?

Thanks
Previous Topic:Random ClassCircularityError
Next Topic:component enable/disable events?
Goto Forum:
  


Current Time: Tue Apr 23 13:51:05 GMT 2024

Powered by FUDForum. Page generated in 0.04573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top