Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Configure p2 Repository Managers to connect to HTTPS repository(-ies) with client certificate(s) programmatically

Hello All,

I'd like to configure p2 repository managers to connect to HTTPS
repositories (Apache + client certificates).

There are several methods available to load repositories:

public IMetadataRepository loadRepository(URI location,
IProgressMonitor monitor) throws ProvisionException,
OperationCanceledException;
public IMetadataRepository loadRepository(URI location, int flags,
IProgressMonitor monitor) throws ProvisionException,
OperationCanceledException;
public IArtifactRepository loadRepository(URI location,
IProgressMonitor monitor) throws ProvisionException;
public IArtifactRepository loadRepository(URI location, int flags,
IProgressMonitor monitor) throws ProvisionException;

With "location" parameter I can provide URI to HTTPS server.
How can I provide paths to key-stores/trust-stores that contain client
and CA certificates? I don't like to use global key-stores for Java
process.

Thanks in advance.

Best regards,
Dmytro Pishchukhin


Back to the top