cc6ul: cloudconnector: use 'remotemanager.digi.com' not to use certificates
This commit modifies the cloud connector configuration to use 'remotemanager.digi.com' URL since it does not use certificates for the connection. 'edp12.devicecloud.com' only allows connections with certificates. The certificate is downloaded during the first device connection to DRM and stored in '/etc/ssl/certs' directory inside the 'rootfs' partition. Following connections must use this certificate. After a firmware update 'rootfs' partition is re-programmed (standard boot) or changed to use the corresponding partition of the other block (dual boot). In any case the certificate downloaded is not available anymore, so the device is not able to reconnect. Currently there is no a 'immutable' partition to store the certificate, that is, a place where the certificate is not removed during a firmware update and can be used by the cloud connector (similar to the 'data' partition on a ccmp1) Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
This commit is contained in:
parent
fd94f10c0b
commit
063a946e7c
|
|
@ -43,6 +43,10 @@ do_install() {
|
|||
ln -sf /etc/cloud-connector ${D}${sysconfdir}/init.d/cloud-connector
|
||||
}
|
||||
|
||||
do_install:append:ccimx6ul() {
|
||||
sed -i "/url = \"edp12.devicecloud.com\"/c\url = \"remotemanager.digi.com\"" ${D}${sysconfdir}/cc.conf
|
||||
}
|
||||
|
||||
do_install:append:ccmp1() {
|
||||
sed -i "/client_cert_path = \"\/etc\/ssl\/certs\/drm_cert.pem\"/c\client_cert_path = \"\/mnt\/data\/drm_cert.pem\"" ${D}${sysconfdir}/cc.conf
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue