Allow to disable SSL client authentication on the management port
When server and management are at different ports, and when server
requires TLS client authentication, then there is no simple method to
disable TLS client authentication for management port.
This commit adds an additional "none" option to ssl.client-auth.
Example:
server.port=8080
server.ssl.enabled=true
server.ssl.client-auth=need
management.server.port=8081
management.server.ssl.enabled=true
management.server.ssl.client-auth=none
See gh-14985
This commit is contained in:
committed by
Stephane Nicoll
parent
476fe6ed17
commit
108f28417e
@@ -233,7 +233,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
server.servlet.session.timeout=30m # Session timeout. If a duration suffix is not specified, seconds will be used.
|
||||
server.servlet.session.tracking-modes= # Session tracking modes.
|
||||
server.ssl.ciphers= # Supported SSL ciphers.
|
||||
server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store.
|
||||
server.ssl.client-auth= # Whether client authentication is not wanted ("none"), wanted ("want") or needed ("need"). Requires a trust store.
|
||||
server.ssl.enabled=true # Whether to enable SSL support.
|
||||
server.ssl.enabled-protocols= # Enabled SSL protocols.
|
||||
server.ssl.key-alias= # Alias that identifies the key in the key store.
|
||||
@@ -1205,7 +1205,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
management.server.port= # Management endpoint HTTP port (uses the same port as the application by default). Configure a different port to use management-specific SSL.
|
||||
management.server.servlet.context-path= # Management endpoint context-path (for instance, `/management`). Requires a custom management.server.port.
|
||||
management.server.ssl.ciphers= # Supported SSL ciphers.
|
||||
management.server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store.
|
||||
management.server.ssl.client-auth= # Whether client authentication is not wanted ("none"), wanted ("want") or needed ("need"). Requires a trust store.
|
||||
management.server.ssl.enabled=true # Whether to enable SSL support.
|
||||
management.server.ssl.enabled-protocols= # Enabled SSL protocols.
|
||||
management.server.ssl.key-alias= # Alias that identifies the key in the key store.
|
||||
|
||||
Reference in New Issue
Block a user