Skip to content

Commit 731df0b

Browse files
authored
Update release_test.yml
1 parent 9ea8837 commit 731df0b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,19 @@ jobs:
7272
- name: Enable tls1
7373
if: ${{ runner.os == 'Windows' }}
7474
run: |
75-
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security"
75+
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, 3DES_EDE_CBC, TLSv1.1,\)\(.*\)/\1\2\4/" "${{ env.JAVA_HOME }}/conf/security/java.security"
7676
7777
# java.security 开放tls1 macOS
7878
- name: Enable tls1
7979
if: ${{ runner.os == 'macOS' }}
8080
run: |
81-
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" $JAVA_HOME/conf/security/java.security
81+
sed -i '' "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, 3DES_EDE_CBC, TLSv1.1,\)\(.*\)/\1\2\4/" $JAVA_HOME/conf/security/java.security
8282
8383
# java.security 开放tls1 Linux
8484
- name: Enable tls1
8585
if: ${{ runner.os == 'Linux' }}
8686
run: |
87-
sed -i "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, TLSv1.1,\)\(.*\)/\1\2\4/" ${{ env.JAVA_HOME }}/conf/security/java.security
87+
sed -i "s/\(^jdk.tls.disabledAlgorithms=\)\(.*\)\( TLSv1, 3DES_EDE_CBC, TLSv1.1,\)\(.*\)/\1\2\4/" ${{ env.JAVA_HOME }}/conf/security/java.security
8888
8989
# 复制jre Windows
9090
- name: Copy Jre for Windows

0 commit comments

Comments
 (0)