Invalid keystore format error trying to give a keystore to Tomcat

I'm unable to make my project load a jks keystore. It's a Spring Boot 2.1.0-RELEASE. I've set the options below to configure the Tomcat server with SSL

I am not writing the code, it's loaded from a dependency, and I have to change the name of the file to post.






I've tried changing the file to demonstrate that it actually IS finding the classpath resource.

I've tried converting it to PKCS#12 with the keytool command:

keytool -importkeystore \

-srckeystore ./101816-my-keyfile.jks \

-destkeystore ./101816-my-keyfile.jks \

-deststoretype pkcs12

I've tried converting (Back) it to JKS and JCEKS using the same...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts