Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / aai / components / aai-sparky-be / resources / config / application / application-ssl.properties
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 server.port=8000
16 {{ if ( include "common.needTLS" .) }}
17 server.ssl.key-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
18 server.ssl.key-store-password=${KEYSTORE_PASSWORD}
19 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
20 server.ssl.trust-store=file:{{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
21 server.ssl.trust-store-password=${TRUSTSTORE_PASSWORD}
22 {{ else }}
23 security.require-ssl=false
24 server.ssl.enabled=false
25 {{ end }}