Also, in gateway axis2.xml transport Sender, hostname verifier is
configured..

<parameter name="HostnameVerifier">AllowAll</parameter>


On Tue, Sep 6, 2016 at 11:57 AM, Supun Malinga <[email protected]> wrote:

> Hi,
>
> When gateway is validating token with keymanager, getting the following
> error at gateway worker log,
>
> [2016-09-06 06:09:22,013]  INFO - HTTPSender Unable to sendViaPost to url[
> https://keymanager:9443/services/APIKeyValidationService]
> javax.net.ssl.SSLException: hostname in certificate didn't match:
> <keymanager> != </localhost>
> ....
>
> Looks like keymanager is rejecting the requests.
> How do I allow all hostnames here?.
>
> In keymanager wso2server.sh I see following enabled already,
>
> -Dorg.opensaml.httpclient.https.disableHostnameVerification=true \
> -Dorg.wso2.ignoreHostnameVerification=true \
>
> thanks,
> --
> Supun Malinga
>



-- 
Supun Malinga
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to