You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2017/12/27 15:38:00 UTC

[jira] [Resolved] (MEECROWAVE-87) Enhance meecrowave to get adavnced ssl properties from meecrowave.properties

     [ https://issues.apache.org/jira/browse/MEECROWAVE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved MEECROWAVE-87.
------------------------------------------
    Resolution: Fixed

patch applied, thanks a lot for the hard work!

> 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
> 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)