Ravisankar Challa created MEECROWAVE-87:
-------------------------------------------

             Summary: Enhance meecrowave to get adavnced ssl properties from 
meecrowave.properties
                 Key: MEECROWAVE-87
                 URL: https://issues.apache.org/jira/browse/MEECROWAVE-87
             Project: Meecrowave
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Ravisankar Challa
            Priority: Minor


I have made some changes here for that 
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.
{color:#d04437}*java.lang.IllegalArgumentException: Multiple SSLHostConfig 
elements were provided for the host name [_default_]. Host names must be 
unique.*{color}
        
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
*{color:#d04437}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{color}*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to