When an external X.509 CA is present in EJBCA which uses an explicit (unnamed) elliptic curve in its certificate, the CLI command for listing the CAs will always throw an exception.
A sample X.509 CA certificate has been attached to the issue.
1. Create an external CA in EJBCA using the provided X.509 CA certificate.
2. List available CAs in EJBCA via CLI:
bin/ejbca.sh ca listcas
1. All CAs have been listed in the command output.
1. An exception is thrown:
Exception in thread "main" javax.ejb.EJBException: java.io.NotSerializableException: java.security.cert.Certificate: X.509: java.io.IOException: Only named ECParameters supported
See full listing in attached file listcas_ca_with_explicit_curve.txt