Hi,

I'm trying to setup a host with the following address but have different
certificate.

https://localhost:8080

https://localhost:8082

My problem is although the server connectors seems to start correctly, when I
check the certificate for each of the site, it shows the same certificate. I'm
not sure if I need to setup something else.
I'm using Restlet 1.0.10 with Jetty connector and here is how I setup my 
connectors.

component = new Component();
// setting up server connectors
ServerList serverConnectors = component.getServers();
Server server = serverConnectors.add(Protocol.HTTPS, "localhost", 8080);
// setup first certificates
--- server.getContext().getParameters().add( etc etc
server = serverConnectors.add(Protocol.HTTPS, "localhost", 8082);
// setup second certificates
--- server.getContext().getParameters().add( etc etc

component.getDefaultHost().attach("/", router);

component.start();

Reply via email to