Uploaded image for project: 'Meecrowave'
  1. Meecrowave
  2. MEECROWAVE-87

Enhance meecrowave to get adavnced ssl properties from meecrowave.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.1
    • None

    Description

      I have made some changes here
      https://github.com/Ravisankar-Challa/meecrowave/commit/bfc0e41dc44577a1c420ec63589939631e60bedd

      This also fixes below issues.

      1) Configuring keystore and trust store
      ssl = true
      ssl-protocol = TLS
      keystore-file = ../../target/classes/meecrowave.jks
      key-alias = meecrowave
      keystore-password = meecrowave
      http2 = true
      connector.sslhostconfig.truststoreFile = ../../target/classes/trust.jks
      connector.sslhostconfig.truststorePassword = meecrowave

      With the above configuration we get the below error.
      java.lang.IllegalArgumentException: Multiple SSLHostConfig elements were provided for the host name [_default_]. Host names must be unique.

      2) Configuring keystore using configuration properties
      ssl = true
      ssl-protocol = TLS
      http2 = true
      connector.sslhostconfig.certificateKeystoreFile = ../../target/classes/meecrowave.jks
      connector.sslhostconfig.certificateKeystoreType = JKS
      connector.sslhostconfig.certificateKeystorePassword = meecrowave
      connector.sslhostconfig.certificateKeyAlias = meecrowave
      java.lang.IllegalArgumentException: Multiple SSLHostConfig elements were provided for the host name [_default_]. Host names must be unique.

      if I add some other host name
      connector.sslhostconfig.hostName = test-host
      I am getting the below error
      Caused by: java.lang.IllegalArgumentException: java.io.IOException: Failed to load keystore type [JKS] with path [C:\Users\ravi/.keystore] due to [Illegal character i
      n opaque part at index 2: C:\Users\ravi/.keystore] // Default tomcat key store path

      Attachments

        Activity

          People

            Unassigned Unassigned
            Ravisankar Challa Ravisankar Challa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: