First I made a new keystore (I used letsencrypt for the Certificate) through java-keytool. Below are the Commands:
openssl pkcs12 -export -out keystore.pkcs12