Yes. As Kim has explained this could due to hostname verification failure
since the default certificates that come in wso2 products are for
'localhost'

You follow the steps in [1] to configure self signed certiticate for your
ip.

Alterntively as a quick fix you can disable hostname verification by
starting the server as,

sh wso2server.sh -Dhttpclient.hostnameVerifier=AllowAll

This is fine for testing purposes. But note that you should have the
correct certificates and enable hostname verification when you move into
production etc.


[1] https://docs.wso2.com/display/DS200/Troubleshooting+Guide

On Wednesday, May 17, 2017, 김대경 <[email protected]> wrote:

> Hi,
>
> I think it is ssl exception.
> Because default keystore(wso2carbon.jks) and truststote(client-truststore.jks)
> include localhost alias, default setting would be ok.
>
> So, I think you should create new certification for your ip/domain and
> import it to keystore and truststore..
>
> Thanks.
>
> 2017. 5. 17. 오후 8:09에 "Melodias" <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>>님이 작성:
>
> Hi All,
>
> I wanted change localhost to ip my host in Identity Server.
> I changed  in carbon.xml next lines:
>
> <HostName>192.168.16.55</HostName>
> <MgtHostName>192.168.16.55</MgtHostName>
>
>
> I have error Authentication, when I logging to dashboard WSO2IS
> https://ip:9443/dashboard/
>
> ERROR {org.apache.catalina.core.StandardWrapperValve} -  Servlet.service()
> for servlet [default] in context with path [/authenticationendpoint] threw
> exception
> java.io.IOException: javax.net.ssl.SSLHandshakeException:
> java.security.cert.CertificateException: No subject alternative names
> present
>
> Before the configuration change, I didn't have problems like this.
> Any suggest what is wrong?
>
>
> Thanks,
> GH
>
>
>
> --
> View this message in context: http://wso2-oxygen-tank.10903.
> n7.nabble.com/WSO2IS-5-3-initialization-Failed-No-subject-
> alternative-names-present-tp148988.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> _______________________________________________
> Dev mailing list
> [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>

-- 
Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 <https://twitter.com/farazath619>
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to