Since it's 2025 and Java is still not supporting ED25519 encryption for HTTP connections, i wanted to change my default provider to Bouncy Castle for my Spring Boot project.
Sadly it is NOT enough to statically import the new providers:
static {
Security.addProvider(new BouncyCastleProvider());
Security.addProvider(new BouncyCastleJsseProvider());
}
The Webserver (default: Tomcat) is not using the new provider. Therefore the question: Is there an easy way to just change the default JSSE Provider from SunJSSE
to BCJSSE
?