Skip to content

Instantly share code, notes, and snippets.

@krnbr
Created July 19, 2020 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krnbr/75c9d133e221324295f3ae7b49cb5da8 to your computer and use it in GitHub Desktop.
Save krnbr/75c9d133e221324295f3ae7b49cb5da8 to your computer and use it in GitHub Desktop.
mutual TLS based properties
server.port=8533
spring.security.oauth2.client.registration.local.authorization-grant-type=client_credentials
spring.security.oauth2.client.registration.local.client-id=client_id
spring.security.oauth2.client.registration.local.client-secret=client_secret
oauth2.client.provider.local.token-uri.base-path=https://localhost:8353
spring.security.oauth2.client.provider.local.token-uri=${oauth2.client.provider.local.token-uri.base-path}/oauth/token
oauth2.client.registration.local.ssl-enabled=true
oauth2.client.registration.local.keystore=BASE_64_ENCODED_KEYSTORE_JKS
oauth2.client.registration.local.keystore-password=secret
oauth2.client.registration.local.truststore=BASE_64_ENCODED_TRUSTSTORE_JKS
oauth2.client.registration.local.truststore-password=secret
test.client.host=http://localhost:8053
test.client.base.url=${test.client.host}/api/v1
test.client.test.path=/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment