stphngrtz
stphngrtz

Reputation: 221

How to configure Spring Boot 2 WebFlux to use SSL?

All I get is javax.net.ssl.SSLHandshakeException: no cipher suites in common.

This is how to reproduce the behavior:

This is my first time adding SSL to a Spring Boot application and I think that something must be wrong - but I've no idea what. Maybe anyone of you could provide some help? Thanks!

Upvotes: 1

Views: 3225

Answers (1)

stphngrtz
stphngrtz

Reputation: 221

Ok, turns out that you need to set the key algorithm to RSA in order to make this work.

keytool -genkeypair -keyalg RSA -keystore src/main/resources/keystore.jks

Upvotes: 3

Related Questions