Expected Behavior
The AducIotAgent is able to retrieve a certificate from the AIS, even when its size is larger than 4096 bytes
Current Behavior
The AducIotAgent is failing to start with the error message:
Failed to provision a connection string from eis, Failed with error EISErr_RecvRespOutOfLimitsErr on service EISService_CertService [GetConnectionInfoFromIdentityService:561]
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
- Configure AIS to use a certificate longer than 4096 bytes. In this case the certificate is a full chain certificate which is being built by the AIS when using an EST server.
Device Information
- Custom Yocto Image
- Build AIS and iot-hub-device-update from source
Logs
Agent (linux; 1.2.0) starting. [main:1024]
Git Info: develop:cad3bbe2 [main:1026]
Supported Update Manifest version: min: 4, max: 5 [main:1028]
Failed to provision a connection string from eis, Failed with error EISErr_RecvRespOutOfLimitsErr on service EISService_CertService [GetConnectionInfoFromIdentityService:561]
Health check failed. [HealthCheck:632]
Agent exited with code 1 [main:1104]
Agent is shutting down. [ShutdownAgent:815]
Expected Behavior
The AducIotAgent is able to retrieve a certificate from the AIS, even when its size is larger than 4096 bytes
Current Behavior
The AducIotAgent is failing to start with the error message:
Failed to provision a connection string from eis, Failed with error EISErr_RecvRespOutOfLimitsErr on service EISService_CertService [GetConnectionInfoFromIdentityService:561]
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
Device Information
Logs
Agent (linux; 1.2.0) starting. [main:1024] Git Info: develop:cad3bbe2 [main:1026] Supported Update Manifest version: min: 4, max: 5 [main:1028] Failed to provision a connection string from eis, Failed with error EISErr_RecvRespOutOfLimitsErr on service EISService_CertService [GetConnectionInfoFromIdentityService:561] Health check failed. [HealthCheck:632] Agent exited with code 1 [main:1104] Agent is shutting down. [ShutdownAgent:815]