当前位置: 首页 > 工具软件 > Go Chassis > 使用案例 >

Gochassis

江光明
2023-12-01

1、根目录下的conf目录下的tls.yaml文件:

#不使用hhttp校验的话,注释掉下面代码
ssl:
  registry.Consumer.cipherPlugin: aes
  registry.Consumer.verifyPeer: fase
  registry.Consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  registry.Consumer.protocol: TLSv1.2
  registry.Consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  registry.Consumer.certFile: /opt/xxx/xxx/tls.crt
  registry.Consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  registry.Consumer.CaFile: /opt/xxx/xxx/ca.crt
  rest.Provider.cipherPlugin: aes
  rest.Provider.verifyPeer: fase
  rest.Provider.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  rest.Provider.protocol: TLSv1.2
  rest.Provider.keyFile: /opt/xxx/xxx/tls.key.pwd
  rest.Provider.certFile: /opt/xxx/xxx/tls.crt
  rest.Provider.CertPwdFile: /opt/xxx/xxx/cert/pwd
  rest.Provider.CaFile: /opt/xxx/xxx/ca.crt
  rest.Consumer.cipherPlugin: aes
  rest.Consumer.verifyPeer: fase
  rest.Consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  rest.Consumer.protocol: TLSv1.2
  rest.Consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  rest.Consumer.certFile: /opt/xxx/xxx/tls.crt
  rest.Consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  rest.Consumer.CaFile: /opt/xxx/xxx/ca.crt
  mserviceName01.rest.Consumer.cipherPlugin: aes
  mserviceName01.rest.Consumer.verifyPeer: fase
  mserviceName01.rest.Consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  mserviceName01.rest.Consumer.protocol: TLSv1.2
  mserviceName01.rest.Consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  mserviceName01.rest.Consumer.certFile: /opt/xxx/xxx/tls.crt
  mserviceName01.rest.Consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  mserviceName01.rest.Consumer.CaFile: /opt/xxx/xxx/ca.crt
  CMCenter.rest.consumer.cipherPlugin: aes
  CMCenter.rest.consumer.verifyPeer: fase
  CMCenter.rest.consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  CMCenter.rest.consumer.protocol: TLSv1.2
  CMCenter.rest.consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  CMCenter.rest.consumer.certFile: /opt/xxx/xxx/tls.crt
  CMCenter.rest.consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  CMCenter.rest.consumer.CaFile: /opt/xxx/xxx/ca.crt
  mserviceName02.rest.Consumer.cipherPlugin: aes
  mserviceName02.rest.Consumer.verifyPeer: fase
  mserviceName02.rest.Consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  mserviceName02.rest.Consumer.protocol: TLSv1.2
  mserviceName02.rest.Consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  mserviceName02.rest.Consumer.certFile: /opt/xxx/xxx/tls.crt
  mserviceName02.rest.Consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  mserviceName02.rest.Consumer.CaFile: /opt/xxx/xxx/ca.crt
  mserviceName03.rest.Consumer.cipherPlugin: aes
  mserviceName03.rest.Consumer.verifyPeer: fase
  mserviceName03.rest.Consumer.cipherSuits: TLS_EcdHE_Rssxxxxxxxxxxxxxxx
  mserviceName03.rest.Consumer.protocol: TLSv1.2
  mserviceName03.rest.Consumer.keyFile: /opt/xxx/xxx/tls.key.pwd
  mserviceName03.rest.Consumer.certFile: /opt/xxx/xxx/tls.crt
  mserviceName03.rest.Consumer.CertPwdFile: /opt/xxx/xxx/cert/pwd
  mserviceName03.rest.Consumer.CaFile: /opt/xxx/xxx/ca.crt

 类似资料:

相关阅读

相关文章

相关问答