We are trying to connect to the IBM Watson platform using the client certificate Authentication Method with the below-mentioned environment.
OS : Ubuntu 16.04'
Source code : https://github.com/ibm-watson-iot/iot-c
Compilation : Completed without any error.
Working scenario :
- We have created an Organization ID and create devices under the same.
- We are able to connect to devices created on the cloud using the token-based authentication method.
Not working scenario :
- We have created a CA and client certificates as mentioned in the guidelines.
- We have uploaded the CA certificate to the cloud.
- We set an authentication method as Client-Certificate Authentication.
- Here we are facing "unauthorized - return code 135" every time we tried to connect.
- ./gatewaySample --config ./wiotpgateway.yaml
----- here is the yaml file ----# Device sample config file
identity:
orgId: lcxxxx
typeId: NXP-A71CH-D
deviceId: 700281490036xxxxxx
auth:
token: FyDiSxcniGxxxxx
options:
logLevel: DEBUG
mqtt:
port: 8883
#Support#AssetandFacilitiesManagement#WatsonIoT#Maximo#SupportMigration