Re: [Dev] [carbon-transports] Error while reading the protocol from carbon-transport-request

2017-02-12 Thread Thusitha Thilina Dayaratne
Adding Isuru n Senduran.

On Mon, Feb 13, 2017 at 12:26 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi,
>
> I noticed that reading the protocol property from carbon-transport-request
> is always returning "http" regardless of the actual protocol [1].
>
> Is this a bug or do we have to rely on "IS_SECURED_CONNECTION" property
> to determine whether the protocol is HTTPS?
>
>
> [1] https://github.com/wso2/carbon-transports/blob/master/
> http/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/
> transport/http/netty/listener/SourceHandler.java#L218
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a nurudd...@wso2.com
>



-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [carbon-transports] Error while reading the protocol from carbon-transport-request

2017-02-12 Thread Anuruddha Liyanarachchi
Hi,

I noticed that reading the protocol property from carbon-transport-request
is always returning "http" regardless of the actual protocol [1].

Is this a bug or do we have to rely on "IS_SECURED_CONNECTION" property to
determine whether the protocol is HTTPS?


[1]
https://github.com/wso2/carbon-transports/blob/master/http/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/listener/SourceHandler.java#L218



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel  : +94 112 145 345
a nurudd...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.1 RC1

2017-02-12 Thread Fazlan Nazeem
Tested with API Manager.

We did not encounter [1]

[+] Stable - go ahead and release

[1] - https://github.com/wso2/msf4j/issues/329

On Mon, Feb 13, 2017 at 11:50 AM, Tharindu Dharmarathna 
wrote:

> Tested with API Manager.
>
> We did not encounter [1]
>
> [+] Stable - go ahead and release
>
> [1] - https://github.com/wso2/msf4j/issues/329
>
> On Thu, Feb 9, 2017 at 5:55 PM, Thilini Shanika  wrote:
>
>> Tested with API Manager.
>>
>> We did not encounter [1]
>>
>> [+] Stable - go ahead and release
>>
>> [1] https://github.com/wso2/msf4j/issues/337
>>
>>
>> On Wed, Feb 8, 2017 at 8:55 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> This is the 1st Release Candidate of WSO2 MSF4J(Microservices Framework
>>> for Java) 2.1.1.
>>>
>>> Please download, test the framework and vote. The vote will be open for
>>> 72 hours or as needed.
>>> Refer to GitHub readmes for guides.
>>>
>>> *Source and binary distribution files:*
>>> https://github.com/wso2/msf4j/releases/tag/v2.1.1-rc1
>>>
>>> *Maven staging repository:*
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1012
>>>
>>> *The tag to be voted upon:*
>>> https://github.com/wso2/msf4j/tree/v2.1.1-rc1
>>>
>>>
>>>
>>> [ ] Broken - do not release (explain why)
>>> [ ] Stable - go ahead and release
>>>
>>> Thank you,
>>> Platform Team
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> Mobile  +94712756809 <+94%2071%20275%206809>
>>> Blog  alokayasoya.blogspot.com
>>> Abouthttp://about.me/thusithathilina
>>> 
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thilini Shanika
>> Senior Software Engineer
>> WSO2, Inc.; http://wso2.com
>> 20, Palmgrove Avenue, Colombo 3
>>
>> E-mail: tgtshan...@gmail.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Tharindu Dharmarathna*Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <+94%2077%20910%209091>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
fazl...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.1 RC1

2017-02-12 Thread Tharindu Dharmarathna
Tested with API Manager.

We did not encounter [1]

[+] Stable - go ahead and release

[1] - https://github.com/wso2/msf4j/issues/329

On Thu, Feb 9, 2017 at 5:55 PM, Thilini Shanika  wrote:

> Tested with API Manager.
>
> We did not encounter [1]
>
> [+] Stable - go ahead and release
>
> [1] https://github.com/wso2/msf4j/issues/337
>
>
> On Wed, Feb 8, 2017 at 8:55 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> This is the 1st Release Candidate of WSO2 MSF4J(Microservices Framework
>> for Java) 2.1.1.
>>
>> Please download, test the framework and vote. The vote will be open for
>> 72 hours or as needed.
>> Refer to GitHub readmes for guides.
>>
>> *Source and binary distribution files:*
>> https://github.com/wso2/msf4j/releases/tag/v2.1.1-rc1
>>
>> *Maven staging repository:*
>> https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1012
>>
>> *The tag to be voted upon:*
>> https://github.com/wso2/msf4j/tree/v2.1.1-rc1
>>
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thank you,
>> Platform Team
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> 
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thilini Shanika
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharindu Dharmarathna*Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017

2017-02-12 Thread Tishan Dahanayakage
Hi Vihanga,

Thanks for your interest in WSO2 and this project. I have improved idea
page with more details. I would suggest you to start off with getting bit
familiar with Siddhi grammar. Then you can look into idea plugin creation
to support different languages. Then you can look into antlr based
programming languages and how antlr can be used to generate parsers,
lexers, etc. Above will provide you enough context information on how to
proceed through with the idea.
Feel free to revert back if you don't understand the requirement or have
any other clarification.

Thanks,
Tishan

On Sat, Feb 11, 2017 at 12:54 PM, Vihanga Liyanage <
vihangaliyanage...@gmail.com> wrote:

> Hi Tishan,
>
> I read through your project proposals for GSoC 2017 and particularly
> interested in the project Proposal 4: Idea Plugin for Siddhi
> 
> , which lists you as the possible mentor. I'd really like to work on this
> idea further, hoping to get selected for GSoC and complete the project at
> the end.
> It'll be really great if you could point me in a direction where I could
> do some more background work on this.
>
> Best Regards,
> Vihanga Liyanage,
> Undergraduate,
> University of Colombo School of Computing.
> M: +94 71 012 4103 <+94%2071%20012%204103>
>
> 
> 
> 
>



-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017

2017-02-12 Thread Nirmal Fernando
Hi Vihanga,

Thanks for your interest in this GSoC proposal. This is quite similar to
how JavaDocs get generated. Siddhi has a set of extensions written and we
are expecting you to come up with a proposal to generate the API docs for
them.

Let us know if you need further help.

On Sat, Feb 11, 2017 at 1:01 PM, Vihanga Liyanage <
vihangaliyanage...@gmail.com> wrote:

> Hi Nirmal,
>
> I read through your project proposals for GSoC 2017 and particularly
> interested in the project Proposal 3: Siddhi Extension Doc Auto Generation
> 
> , which lists you as the possible mentor. I'd really like to work on this
> idea further, hoping to get selected for GSoC and complete the project at
> the end.
> It'll be really great if you could point me in a direction where I could
> do some more background work on this.
>
> Best Regards,
> Vihanga Liyanage,
> Undergraduate,
> University of Colombo School of Computing.
> M: +94 71 012 4103 <+94%2071%20012%204103>
>
> 
> 
> 
>



-- 

Thanks & regards,
Nirmal

Technical Lead - Analytics Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] wso2 IS 5.3.0 End User Dashboard

2017-02-12 Thread Farasath Ahamed
Hi,

Can you try to access the dashboard once again and post the error logs
printed in wso2carbon.log? You can find this in WSO2_HOME/repository/logs/
folder, where WSO2_HOME is the root of your WSO2 Identity Server.

Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 




On Sun, Feb 12, 2017 at 12:30 PM, mgbii bax  wrote:

> Hello,
>
> I did not generate new keys since I have all the necessary certificates
> and key for *.owndomain.com and owndomain.com. I used the same
> certificates for our publicly accessible website. I followed the directions
> from [1] link below to create a new keystore and import to client store. I
> have also modified all affected files, replacing the wso2carbon.jks file
> entries, new password, new alias, new key password etc. No End User
> dashboard still. I keep on getting this message in my chrome browser:
>
> [1] https://docs.wso2.com/display/ADMIN446/Creating+New+Keystores
>
> I'm using a no GUI linux box to test the wso2 service that's why I don't
> use "localhost".
>
> + Start from this link:
> https://sub.owndomain.com:9443/dashboard
>
> + I get redirected to:
> https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true
>
> + With a page that shows:
> You are now being redirected to Identity Server. If the redirection fails,
> please click on the button below.
>
> + With a "Redirect manually" button
>
> + Then after a few minutes..
> https://sub.owndomain.com:9443/authenticationendpoint/
> login.do?SSOAuthSessionID=1CFADEB31AC41CC6DF875E2477D387
> D2FC3CAF3CFF13B80E6BB4E747743D549BD4A2076A1DB248B925785BE187
> 247CB616305D962EAE88275514941D5167CF195DCA7E02E1A0BC0F74BDCA
> C0E3778135FF5CAC684B474F4C366598995DC769681E2E7ADB9D6261888C
> 107E51CDD076C58F78786004977A0BC033B5F50D6BA207&commonAuthCallerPath=%
> 2Fsamlsso&forceAuth=false&passiveAuth=false&tenantDomain=carbon.super&
> sessionDataKey=b6a8a00f-fe21-4e54-b69c-49ccb3014549&relyingParty=wso2.my.
> dashboard&type=samlsso&sp=wso2_sp_dashboard&isSaaSApp=true&authenticators=
> BasicAuthenticator:LOCAL
>
> + With a page that shows:
> Authentication Error !
> Something went wrong during the authentication process. Please try signing
> in again.
>
> from logs:
> 10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /dashboard/ HTTP/1.1" 302
> - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
> Gecko) Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /dashboard/login.jag
> HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET
> /dashboard/samlsso.jag?login=true HTTP/1.1" 200 1608 "-" "Mozilla/5.0
> (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /favicon.ico HTTP/1.1"
> 405 832 "https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true";
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "POST /samlsso HTTP/1.1" 302 -
> "https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true";
> "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:09:10 -0800] "GET
> /authenticationendpoint/login.do?SSOAuthSessionID=
> 17B09FD1FE6F3B61B34F88DA13AAF56238F4A32343D04F7933F43D5C30B5
> 5CBC29DFE5F5549DCA8296B237E06BD288ABAEE827D7884844A68F5B495C
> D12C0B225995658EE5253FDBFD640A120EF5FBB7BBA3125F005232F99FCF
> 5A1376F2E30C433EACD840FEB8254216393B24A6B20B0ED0A6405075215C
> AC7BFC24ED137543&commonAuthCallerPath=%2Fsamlsso&forceAuth=false&
> passiveAuth=false&tenantDomain=carbon.super&sessionDataKey=87078deb-0812-
> 4118-a227-ba3bd26dbf1b&relyingParty=wso2.my.dashboard&type=samlsso&sp=
> wso2_sp_dashboard&isSaaSApp=true&authenticators=BasicAuthenticator:LOCAL
> HTTP/1.1" 500 616 "https://sub.owndomain.com:9443/dashboard/samlsso.jag?
> login=true" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
> 10.16.20.1 - - [12/Feb/2017:12:09:11 -0800] "GET /favicon.ico HTTP/1.1"
> 405 832 "https://sub.owndomain.com:9443/authenticationendpoint/
> login.do?SSOAuthSessionID=17B09FD1FE6F3B61B34F88DA13AAF5
> 6238F4A32343D04F7933F43D5C30B55CBC29DFE5F5549DCA8296B237E06B
> D288ABAEE827D7884844A68F5B495CD12C0B225995658EE5253FDBFD640A
> 120EF5FBB7BBA3125F005232F99FCF5A1376F2E30C433EACD840FEB82542
> 16393B24A6B20B0ED0A6405075215CAC7BFC24ED137543&commonAuthCallerPath=%
> 2Fsamlsso&forceAuth=false&passiveAuth=false&tenantDomain=carbon.super&
> sessionDataKey=87078deb-0812-4118-a227-ba3bd26dbf1b&relyingParty=wso2.my.
> dashboard&type=samlsso&sp=wso2_sp_dashboard&isSaaSApp=true&

Re: [Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-12 Thread Jorge
Hi Harshana, the workaround work for me. thanks.

Any idea about when this issue will be fixed?

Regards,
 Jorge.

2017-02-12 2:08 GMT-05:00, Harshana Eranga Martin :
> Hi Jorge,
>
> I had a similar requirement and here is what i did to overcome the issue.
>
> I appended the complex XML element to Current payload using a combination
> of Property mediator (To wrap the complex XML Element with a known Root
> element) and enriched the current payload using Enrich Mediator (Append the
> complex XML element wrapped with the known Root element as an immediate
> child under SOAPDody). Inside my XSLT i process the proper payload and
> extract the complex XML element using the known Root element i used to wrap
> it. This is the workaround I used.
>
> Hope this helps!
>
> Thanks and Regards,
> Harshana
>
> On Sun, 12 Feb 2017 at 2:53 pm, Jorge  wrote:
>
>> Hi all,
>> any workaround for this bug:
>>
>> https://wso2.org/jira/si/jira.issueviews:issue-html/ESBJAVA-4509/ESBJAVA-4509.html
>>
>> I need to pass 2 complex XML as parameters to a xslt in ESB 5.0.0 with
>> this error:
>>
>> [2017-02-11 20:56:29,320] ERROR - XSLTMediator Unable to perform XSLT
>> transformation using : Value {name ='null', keyValue
>> ='transformTwoSourcesToOneResult'} against source XPath : s11
>> :Body/child::*[position()=1] | s12:Body/child::*[position()=1] reason
>> : Error performing XSLT transformation using : Value {name ='null',
>> keyValue ='transformTwoSourcesToOneResult'}
>> org.apache.synapse.SynapseException: Error performing XSLT
>> transformation using : Value {name ='null', keyValue
>> ='transformTwoSourcesToOneResult'}
>> at
>> org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:367)
>> at
>> org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:372)
>> at
>> org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.java:202)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
>> at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:260)
>> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:766)
>> at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
>> at
>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:554)
>> at
>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:188)
>> at
>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:261)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: net.sf.saxon.trans.XPathException: Required item type of
>> first operand of '/' is node(); supplied value has item type xs:string
>> at
>> net.sf.saxon.expr.ItemTypeCheckingFunction.testConformance(ItemTypeCheckingFunction.java:65)
>> at
>> net.sf.saxon.expr.ItemTypeCheckingFunction.mapItem(ItemTypeCheckingFunction.java:41)
>> at
>> net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:90)
>> at
>> net.sf.saxon.expr.ContextMappingIterator.next(ContextMappingIterator.java:52)
>> at
>> net.sf.saxon.value.SequenceExtent.(SequenceExtent.java:105)
>> at
>> net.sf.saxon.expr.sort.DocumentOrderIterator.(DocumentOrderIterator.java:31)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
>> at
>> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
>> at
>> net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:414)
>> at
>> net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:131)
>> at
>> net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301)
>> at
>> net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:254)
>> at
>> net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:212)
>> at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1034)
>> at
>> net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:58)
>> at net.sf.saxon.trans.Mode.applyTemp

Re: [Dev] wso2 IS 5.3.0 End User Dashboard

2017-02-12 Thread mgbii bax
Hello,

I did not generate new keys since I have all the necessary certificates and
key for *.owndomain.com and owndomain.com. I used the same certificates for
our publicly accessible website. I followed the directions from [1] link
below to create a new keystore and import to client store. I have also
modified all affected files, replacing the wso2carbon.jks file entries, new
password, new alias, new key password etc. No End User dashboard still. I
keep on getting this message in my chrome browser:

[1] https://docs.wso2.com/display/ADMIN446/Creating+New+Keystores

I'm using a no GUI linux box to test the wso2 service that's why I don't
use "localhost".

+ Start from this link:
https://sub.owndomain.com:9443/dashboard

+ I get redirected to:
https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true

+ With a page that shows:
You are now being redirected to Identity Server. If the redirection fails,
please click on the button below.

+ With a "Redirect manually" button

+ Then after a few minutes..
https://sub.owndomain.com:9443/authenticationendpoint/login.do?SSOAuthSessionID=1CFADEB31AC41CC6DF875E2477D387D2FC3CAF3CFF13B80E6BB4E747743D549BD4A2076A1DB248B925785BE187247CB616305D962EAE88275514941D5167CF195DCA7E02E1A0BC0F74BDCAC0E3778135FF5CAC684B474F4C366598995DC769681E2E7ADB9D6261888C107E51CDD076C58F78786004977A0BC033B5F50D6BA207&commonAuthCallerPath=%2Fsamlsso&forceAuth=false&passiveAuth=false&tenantDomain=carbon.super&sessionDataKey=b6a8a00f-fe21-4e54-b69c-49ccb3014549&relyingParty=wso2.my.dashboard&type=samlsso&sp=wso2_sp_dashboard&isSaaSApp=true&authenticators=BasicAuthenticator:LOCAL

+ With a page that shows:
Authentication Error !
Something went wrong during the authentication process. Please try signing
in again.

from logs:
10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /dashboard/ HTTP/1.1" 302
- "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /dashboard/login.jag
HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET
/dashboard/samlsso.jag?login=true HTTP/1.1" 200 1608 "-" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "GET /favicon.ico HTTP/1.1" 405
832 "https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true";
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:06:59 -0800] "POST /samlsso HTTP/1.1" 302 - "
https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true";
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:09:10 -0800] "GET
/authenticationendpoint/login.do?SSOAuthSessionID=17B09FD1FE6F3B61B34F88DA13AAF56238F4A32343D04F7933F43D5C30B55CBC29DFE5F5549DCA8296B237E06BD288ABAEE827D7884844A68F5B495CD12C0B225995658EE5253FDBFD640A120EF5FBB7BBA3125F005232F99FCF5A1376F2E30C433EACD840FEB8254216393B24A6B20B0ED0A6405075215CAC7BFC24ED137543&commonAuthCallerPath=%2Fsamlsso&forceAuth=false&passiveAuth=false&tenantDomain=carbon.super&sessionDataKey=87078deb-0812-4118-a227-ba3bd26dbf1b&relyingParty=wso2.my.dashboard&type=samlsso&sp=wso2_sp_dashboard&isSaaSApp=true&authenticators=BasicAuthenticator:LOCAL
HTTP/1.1" 500 616 "
https://sub.owndomain.com:9443/dashboard/samlsso.jag?login=true";
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"
10.16.20.1 - - [12/Feb/2017:12:09:11 -0800] "GET /favicon.ico HTTP/1.1" 405
832 "
https://sub.owndomain.com:9443/authenticationendpoint/login.do?SSOAuthSessionID=17B09FD1FE6F3B61B34F88DA13AAF56238F4A32343D04F7933F43D5C30B55CBC29DFE5F5549DCA8296B237E06BD288ABAEE827D7884844A68F5B495CD12C0B225995658EE5253FDBFD640A120EF5FBB7BBA3125F005232F99FCF5A1376F2E30C433EACD840FEB8254216393B24A6B20B0ED0A6405075215CAC7BFC24ED137543&commonAuthCallerPath=%2Fsamlsso&forceAuth=false&passiveAuth=false&tenantDomain=carbon.super&sessionDataKey=87078deb-0812-4118-a227-ba3bd26dbf1b&relyingParty=wso2.my.dashboard&type=samlsso&sp=wso2_sp_dashboard&isSaaSApp=true&authenticators=BasicAuthenticator:LOCAL";
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"

Thanks in advance..


--

regards

gezeala bacuño II

On Fri, Feb 10, 2017 at 11:30 PM, Farasath Ahamed 
wrote:

> I tested the dashboard in a fresh pack and it is working fine. I see you
> are accessing it using a hostname.
>
> So you might encounter an error like below,
> *javax.net.ssl.SSLException: hostname in certificate didn’t match:
>  != sub.domain.com *
>
> This happens because by default the WSO2 Identity Server ships with a
> certificate for localhost. If y