-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Closed as not planned
Closed as not planned
Copy link
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: documentationA documentation updateA documentation update
Description
I am attempting to use an SSL Bundle to configure the certificate used by the embedded web server.
If I do something like this in my application.yaml file:
spring:
ssl:
bundle:
jks:
mybundle:
keystore:
location: /path/to/keystore
password: secret
server:
ssl:
enabled: true
enabled-protocols:
- TLSv1.3
bundle: mybundle
It works to configure the server certificate, but the other options (such as server.ssl.enabled-protocols) are ignored.
With this configuration, even though I configure it to only use TLSv1.3, it still responds to TLSv1.2 and TLSv1.3.
If I configure the certificate directly on server.ssl like this:
spring:
ssl:
bundle:
jks:
mybundle:
keystore:
location=/path/to/keystore
password=secret
server:
ssl:
enabled: true
enabled-protocols:
- TLSv1.3
key-store: /path/to/keystore
key-store-password: secret
then the enabled-protocols setting works and only TLSv1.3 is enabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: documentationA documentation updateA documentation update