You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The keywords CertificatePath and CACertificatePath in the smartDeviceLink.ini file are intended to allow the system integrator to specify both the preloaded CA certificates directory and the systems certificate file in pem file format. With the implementation of the EXTERNAL_PROPRIETARY policy mode in release 4.3.0 the keywords have (mistakenly) become nonfunctional as SDL core is always looking for a certificate via the policy table now (even though the keywords still exist in the Security Manager section of the smartDeviceLink.ini file linked below). Including the certificate in the policy table inside of the implementation of the EXTERNAL_PROPRIETARY policy mode was only intended to allow the core to periodically update its certificate on the file system -- the intent was not to remove the capability for an integrator to specify their root ca and initial module certificate.
Clone any branch of sdl core with a release version of 4.3.0 or above. Take note of the invalid certificate processing flow (core only utilizes and processes certificates from the policy table and does not allow the integrator to specify root ca and system certificates). Also take note of the CertificatePath and CACertificatePath keywords as they are not utilized properly anymore.
Expected Behavior
SDL Core will use the CertificatePath and CACertificatePath keywords specified in the ini file allowing the system integrator to provide both a system side certificate and preloaded CA certificates where needed. SDL Core will update the system side certificate via policy table update.
Observed Behavior
SDL Core ignores both the CertificatePath and CACertificatePath keywords that would allow the system integrator to specify certificates for their environment, instead SDL Core only processes the certificate provided via the policy table.
OS & Version Information
OS/Version: Ubuntu 16.04
SDL Core Version: Release 4.5.1
Testing Against: Tested with WebHMI and app built with 4.5.0 Android Proxy release
The text was updated successfully, but these errors were encountered:
Bug Report
The keywords CertificatePath and CACertificatePath in the smartDeviceLink.ini file are intended to allow the system integrator to specify both the preloaded CA certificates directory and the systems certificate file in pem file format. With the implementation of the EXTERNAL_PROPRIETARY policy mode in release 4.3.0 the keywords have (mistakenly) become nonfunctional as SDL core is always looking for a certificate via the policy table now (even though the keywords still exist in the Security Manager section of the smartDeviceLink.ini file linked below). Including the certificate in the policy table inside of the implementation of the EXTERNAL_PROPRIETARY policy mode was only intended to allow the core to periodically update its certificate on the file system -- the intent was not to remove the capability for an integrator to specify their root ca and initial module certificate.
https://github.com/smartdevicelink/sdl_core/blob/master/src/appMain/smartDeviceLink.ini#L158
https://github.com/smartdevicelink/sdl_core/blob/master/src/appMain/smartDeviceLink.ini#L168
Reproduction Steps
Clone any branch of sdl core with a release version of 4.3.0 or above. Take note of the invalid certificate processing flow (core only utilizes and processes certificates from the policy table and does not allow the integrator to specify root ca and system certificates). Also take note of the CertificatePath and CACertificatePath keywords as they are not utilized properly anymore.
Expected Behavior
SDL Core will use the CertificatePath and CACertificatePath keywords specified in the ini file allowing the system integrator to provide both a system side certificate and preloaded CA certificates where needed. SDL Core will update the system side certificate via policy table update.
Observed Behavior
SDL Core ignores both the CertificatePath and CACertificatePath keywords that would allow the system integrator to specify certificates for their environment, instead SDL Core only processes the certificate provided via the policy table.
OS & Version Information
The text was updated successfully, but these errors were encountered: