如何在WSO2 APIM分析3.0.0中配置SSL?

如何在WSO2 APIM分析3.0.0中配置SSL?,wso2,wso2-am,Wso2,Wso2 Am,我在Docker上使用WSO2 APIM()和WSO2 APIM分析(and) 我正在搜索更改WSO2分析证书的解决方案 我知道这个新版本,我们需要配置deployment.yaml文件。但这似乎很难理解。我不知道我需要配置哪个元素。有两个可疑元素具有密钥库属性: databridge.config: # No of worker threads to consume events # THIS IS A MANDATORY FIELD workerThreads: 10

我在Docker上使用WSO2 APIM()和WSO2 APIM分析(and)

我正在搜索更改WSO2分析证书的解决方案

我知道这个新版本,我们需要配置deployment.yaml文件。但这似乎很难理解。我不知道我需要配置哪个元素。有两个可疑元素具有密钥库属性:

databridge.config:
    # No of worker threads to consume events
    # THIS IS A MANDATORY FIELD
  workerThreads: 10
    # Maximum amount of messages that can be queued internally in MB
    # THIS IS A MANDATORY FIELD
  maxEventBufferCapacity: 10000000
    # Queue size; the maximum number of events that can be stored in the queue
    # THIS IS A MANDATORY FIELD
  eventBufferSize: 2000
    # Keystore file path
    # THIS IS A MANDATORY FIELD
  keyStoreLocation : ${sys:carbon.home}/resources/security/wso2carbon.jks
    # Keystore password
    # THIS IS A MANDATORY FIELD
  keyStorePassword : wso2carbon
    # Session Timeout value in mins
    # THIS IS A MANDATORY FIELD
  clientTimeoutMin: 30
    # Data receiver configurations
    # THIS IS A MANDATORY FIELD
  dataReceivers:
  -
      # Data receiver configuration
    dataReceiver:
        # Data receiver type
        # THIS IS A MANDATORY FIELD
      type: Thrift
        # Data receiver properties
      properties:
        tcpPort: '7611'
        sslPort: '7711'

  -
      # Data receiver configuration
    dataReceiver:
        # Data receiver type
        # THIS IS A MANDATORY FIELD
      type: Binary
        # Data receiver properties
      properties:
        tcpPort: '9611'
        sslPort: '9711'
        tcpReceiverThreadPoolSize: '100'
        sslReceiverThreadPoolSize: '100'
        hostName: 0.0.0.0

那么我到底应该配置什么呢


非常感谢。

您可以执行以下操作

  • 创建新证书
  • 创建一个名为wso2carbon.jks的新密钥库
  • 用驻留在wso2am-analytics-3.0.0/resources/security location中的现有密钥库替换新密钥库wso2carbon.jks
  • 将新证书添加到驻留在wso2am-analytics-3.0.0/resources/security location中的clien-trustore.jks文件中

  • 您可以在

    中找到文档。您应该能够实现以下目标

    1) 工人档案

    databridge.config:
    &
    listenerConfigurations :   id: "msf4j-https"
    
    2) 用于仪表板配置文件

    listenerConfigurations: id: "default-https"
    

    我不认为这是根本原因。因为,如果我们替换wso2carbon.jks,它不仅会影响SSL。
    listenerConfigurations: id: "default-https"