How to add certificates to java keystore

I need to connect to S3 repo from elasticsearch to store snapshots.
Our S3 endpoint has mutual ssl authentication.
I have ca.crt, client.key, client.crt.
How to add these certs to java keystore, so that I can connect to s3 repository from elasticsearch.