I have been using certificates generated with a RSA private key fine in Spark’s identity store, but when I try to load similar DSA or EC based certs I get an error when trying to upload in the “Mutual auth” tab : “Cannot upload certificate file”.
In the logs I have some more info :
org.bouncastle.openssl.PEMException: Pem file doesn't include: KEY_BEGIN kind of delimiter.
Some more context: my certs are exported with the private key embedded, for instance (DSA) :
-----BEGIN DSA PRIVATE KEY----- blabla -----END DSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- blabla -----END CERTIFICATE-----
Are these types of private keys supported in Spark ?