Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-26 Thread Ayyoob Hamza
Hi Jason, It seems like there is a configuration issue. Could you please make sure to follow below steps to ensure the configs are in order. Once you create the new keys you can follow [1] to configure it. If you have created a new hostname in the process of generating the new keys then you

Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-12 Thread 云展智创
Ayyoob, Thanks. Your solution resolves the problem in last mail. And I think this should be done in IoTS3.0.0 too. But when I created a new device of type fire alarm, downloaded the agent, I got the below new errors about JWTClient.getAccessToken : [2017-05-12 17:24:20,996] ERROR -

Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-12 Thread Ayyoob Hamza
Hi Jason, After IoTS alpha, we have changed a lot in the configurations and we have streamlined the configs for the endpoints to environment variables which are in the startup script. In addition, we have few configuration that is been documented in [1]. However for the second issue that you

Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-12 Thread 云展智创
Yes, right. I know it’s a very old version. But I use it in a project. And I think it may have the same problem in new versions because lots of config file use localhost instead of the domain name. Only for mqtt connections I got the SSL certificate error below. -- Zhanwen Zhou (Jason) +86

Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-12 Thread Sumedha Rubasinghe
Hi Jason, What is the exact version your using? IOTS alpha? On Fri, May 12, 2017 at 11:29 AM, 云展智创 wrote: > hi, > > Another error after change the dcrUrl of the plugins’ mqtt receivers: > > [2017-05-12 13:56:32,005] ERROR - JWTBearerGrantHandler Signature or > Message

Re: [Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-12 Thread 云展智创
hi, Another error after change the dcrUrl of the plugins’ mqtt receivers: [2017-05-12 13:56:32,005] ERROR - JWTBearerGrantHandler Signature or Message Authentication invalid. [2017-05-12 13:56:32,007] ERROR - JWTBearerGrantHandler Signature or Message Authentication invalid. Exception in

[Dev] [IOTS] MQTTAdapterListener Failed to create an https connection after change the SSL certificate in wso2carbon.jks in IOTS alpha version

2017-05-11 Thread 云展智创
Hi team, I created a new wso2carbon.jks key store file with mydomain certificate in it. But when I started the IOTS server (alpha version), I got the following errors about mismatch hostname. Could you tell me which config files I need to change to solve this problem? I have tried to change