Received fatal alert: bad_certificate
I am trying to setup a SSL Socket connection (and am doing the following on the client) I generate a Certificte Signing Request to obtain a signed client certificate Now I have a private key (used during the CSR), a signed client certificate and root certificate (obtained out of band). I add the private key and signed client certificate to a cert chain and add that to the key manager. and the root cert to the trust manager. But I get a bad certificate error. I am pretty sure I am using the right certs. Should I add the signed client cert to the trust manager as well? Tried that, no luck still.