@Test
public void complexSSLTestCase() throws IOException, GeneralSecurityException, URISyntaxException {
final PathHandler pathHandler = new PathHandler();
File rootPath = new File(FileHandlerTestCase.class.getResource("page.html").toURI()).getParentFile();
final NameVirtualHostHandler virtualHostHandler = new NameVirtualHostHandler();
HttpHandler root = virtualHostHandler;
root = new SimpleErrorPageHandler(root);
root = new CanonicalPathHandler(root);
virtualHostHandler.addHost("default-host", pathHandler);
virtualHostHandler.setDefaultHandler(pathHandler);
pathHandler.addPrefixPath("/", new ResourceHandler()
.setResourceManager(new FileResourceManager(rootPath, 10485760))
.setDirectoryListingEnabled(true));