Browse Source

update GM TLS configs

tags/1.6.3
liuyuanmu 2 years ago
parent
commit
41b432a70e
2 changed files with 4 additions and 6 deletions
  1. +3
    -4
      deploy/deploy-gateway/src/main/resources/config/application-gw.properties
  2. +1
    -2
      deploy/deploy-peer/src/main/resources/config/application-peer.properties

+ 3
- 4
deploy/deploy-gateway/src/main/resources/config/application-gw.properties View File

@@ -18,14 +18,13 @@ server.ssl.trust-store-password=
server.ssl.trust-store-type=JKS
server.ssl.hostNameVerifier=NO-OP

#GM TLS Config
#Enable Condition: http.secure=true && server.ssl.protocol=GMSSLv1.1
#Example:
#GM TLS配置
#示例:
#server.ssl.key-store=cert/sm2.node0.both.pfx
#server.ssl.key-store-type=PKCS12
#server.ssl.key-alias=
#server.ssl.key-store-password=12345678
#server.ssl.protocol=GMSSLv1.1
#server.ssl.protocol=GMTLS
#server.ssl.hostNameVerifier=NO-OP
#server.ssl.enabled-protocols=TLSv1.2,GMSSLv1.1
#server.ssl.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,ECC_SM4_CBC_SM3,ECDHE_SM4_GCM_SM3,ECDHE_SM4_CBC_SM3

+ 1
- 2
deploy/deploy-peer/src/main/resources/config/application-peer.properties View File

@@ -22,14 +22,13 @@ server.ssl.ciphers=
server.ssl.hostNameVerifier=NO-OP

#GM TLS配置
#启用条件: server.ssl.enabled=true && server.ssl.protocol=GMSSLv1.1
#示例:
#server.ssl.enabled=true
#server.ssl.key-store=cert/sm2.node0.both.pfx
#server.ssl.key-store-type=PKCS12
#server.ssl.key-alias=
#server.ssl.key-store-password=12345678
#server.ssl.protocol=GMSSLv1.1
#server.ssl.protocol=GMTLS
#server.ssl.hostNameVerifier=NO-OP
#server.ssl.enabled-protocols=TLSv1.2,GMSSLv1.1
#server.ssl.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,ECC_SM4_CBC_SM3,ECDHE_SM4_GCM_SM3,ECDHE_SM4_CBC_SM3


Loading…
Cancel
Save