Skip to content

Commit 70fdcff

Browse files
committed
fix tls external for gateway
1 parent 1251cbb commit 70fdcff

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
server:
2+
ssl:
3+
key-store: classpath:keystore/itmo-dating-external.p12
4+
key-store-password: ${ITMO_DATING_EXT_KEY_STORE_PASSWORD}

backend/gateway/src/main/resources/application.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring:
22
config:
3-
import: application-monitoring.yml,application-service-discovery.yml,application-tls.yml
3+
import: application-monitoring.yml,application-service-discovery.yml,application-tls.yml,application-gateway-external-tls.yml
44
application:
55
name: gateway
66
cloud:
@@ -132,10 +132,6 @@ spring:
132132
predicates:
133133
- Method=GET
134134
- Path=/api/locations
135-
server:
136-
ssl:
137-
key-store: classpath:keystore/itmo-dating-external.p12
138-
key-store-password: ${ITMO_DATING_EXT_KEY_STORE_PASSWORD}
139135
springdoc:
140136
swagger-ui:
141137
path: /swagger-ui.html

backend/starter-service-discovery/src/main/resources/application-service-discovery.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ spring:
99
tls:
1010
key-store-instance-type: JKS
1111
certificate-path: keystore/itmo-dating-backend.jks
12-
certificate-password: ${server.ssl.key-store-password}
12+
certificate-password: ${client.ssl.key-store-password}
1313
key-store-path: keystore/itmo-dating-backend.jks
14-
key-store-password: ${server.ssl.key-store-password}
14+
key-store-password: ${client.ssl.key-store-password}
1515
discovery:
1616
enabled: true
1717
scheme: https

0 commit comments

Comments
 (0)