Problem solved.
When using Bundle Signature Condition, it is necessary to configure these properties:
- org.knopflerfish.framework.validator=JKSValidator
- org.knopflerfish.framework.validator.jks.ca_certs= "keystore file path"
- org.knopflerfish.framework.validator.jks.ca_certs_password= "password"
I configured these properties in the props.xarg file. But this file is only used at the first start of the knopflerfish framework. In fact, when the framework is started for the first time, a folder named fwdir is created. this folder contains data that are used for restarting the framework.
So if this folder exist there is 3 solutions:
run the framework with these properties (java -jar framework.jar -Forg.knopflerfish.framework.validator.jks.ca_certs="keystore file path" ...)
set the properties in the .xargs file of the fwdir folder
set the properties in the props.xargs file and delete the fwdir folder to force restart from init.xargs (initialization).