I have a java 8 which sends web requests outbound to a server that requires mutual authentication. I can connect using a curl command and passing the following arguments
--cacert ./cert.pem --cert server.crt --key server.key
What do I do with these crt pem and key files to allow my JVM to use them on all outgoing requests?