Browse Source

更新配置文件

luoguangyi 3 years ago
parent
commit
cddf2196cf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/application.yml

+ 3 - 3
src/main/resources/application.yml

@@ -7,17 +7,17 @@ spring:
     name: iot-transfer
   kafka:
     enable: true
-    #kafka-servers,需要更改 
+    #kafka-servers,需要更改
     bootstrap-servers: 113.108.52.72:4439,113.108.52.72:4440
     #ssl认证,根据情况配置,store-location相关的认证文件对应添加,需要更改
     ssl:
       protocol: SSL
       key-password: cmsk-ioc-1234
       key-store-type: JKS
-      key-store-location: /usr/persagy/iot-transfer/config/client.keystore.jks
+      key-store-location: file:/usr/persagy/iot-transfer/config/client.keystore.jks
       key-store-password: cmsk-ioc-1234
       trust-store-type: JKS
-      trust-store-location: /usr/persagy/iot-transfer/config/client.truststore.jks
+      trust-store-location: file:/usr/persagy/iot-transfer/config/client.truststore.jks
       trust-store-password: cmsk-ioc-1234
     producer:
       # 发生错误后,消息重发的次数。