ESTService est = new ESTServiceBuilder("https://localhost:8443/.well-known/est/")
.withTlsTrustAnchors(
ESTTestUtils.toTrustAnchor(</BUG>
ESTTestUtils.readPemCertificate(
ESTServerUtils.makeRelativeToServerHome("/estCA/cacert.crt")
<BUG>))).build();
ECGenParameterSpec ecGenSpec = new ECGenParameterSpec("prime256v1");</BUG>
KeyPairGenerator kpg = KeyPairGenerator.getInstance("ECDSA", "BC");
kpg.initialize(ecGenSpec, new SecureRandom());
KeyPair enrollmentPair = kpg.generateKeyPair();

ESTTestUtils.ensureProvider();
X509CertificateHolder[] theirCAs = null;
ESTServerUtils.ServerInstance serverInstance = null;
try
{
serverInstance = startDefaultServerWithBasicAuth();
ESTService est = new ESTServiceBuilder(ESTTestUtils.toTrustAnchor(
ESTTestUtils.readPemCertificate(
ESTServerUtils.makeRelativeToServerHome("/estCA/cacert.crt")
)), "https://localhost:8443/.well-known/est/").build();
ECGenParameterSpec ecGenSpec = new ECGenParameterSpec("prime256v1");
KeyPairGenerator kpg = KeyPairGenerator.getInstance("ECDSA", "BC");
kpg.initialize(ecGenSpec, new SecureRandom());
KeyPair enrollmentPair = kpg.generateKeyPair();
