Skip to content

Commit

Permalink
for hardcode set to tlsv1.2 datavane/tis#376
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed Oct 22, 2024
1 parent 5858892 commit e706699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/tis-boot/template/tis.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [ -z "$JAVA_JVM_OPTS" ]; then
fi


JAVA_OPTS="$JAVA_JVM_OPTS -XX:+UseG1GC -XX:ParallelGCThreads=4 -Xlog:gc* -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=utf-8 -Dtis.launch.port=$SERVER_PORT {{not_fetch_from_center_repository}} -Ddata.dir={{tis_data_dir}} -Dlog.dir=$LOG_FILE -Dweb.root.dir={{app_home}} -Xrunjdwp:transport=dt_socket,address=*:50000,suspend=n,server=y"
JAVA_OPTS="$JAVA_JVM_OPTS -Djdk.tls.client.protocols=TLSv1.2 -XX:+UseG1GC -XX:ParallelGCThreads=4 -Xlog:gc* -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=utf-8 -Dtis.launch.port=$SERVER_PORT {{not_fetch_from_center_repository}} -Ddata.dir={{tis_data_dir}} -Dlog.dir=$LOG_FILE -Dweb.root.dir={{app_home}} -Xrunjdwp:transport=dt_socket,address=*:50000,suspend=n,server=y"


is_exist() {
Expand Down

0 comments on commit e706699

Please sign in to comment.