concept keystore in category osgi

This is an excerpt from Manning's book OSGi in Action: Creating Modular Applications in Java.
In addition to DN matching, a BundleSignerCondition will only match if all the certificates in the chain are trusted or are signed by a trusted certificate. Certificates are trusted when they’re known by the OSGi framework. How do they become known? Prior to OSGi R4.2 specification, this was implementation-specific; but now the standard way is to specify keystores containing trusted certificates using the org.osgi.framework.trust.repositories framework configuration property. For example:
org.osgi.framework.trust.repositories=\ /var/trust/keystore.jks:~/.cert/certs.jksThe value is a list of file paths, where the paths are separated by the system-specific File.pathSeparator. Each file path must point to a JKS keystore, which can’t have a password. The framework uses the keystores as trust repositories to authenticate certificates of trusted signers. The stores must be used only as read-only trust repositories to access public keys.
The details of all this are based on Java 2 JAR file signing, which means the same tools you use to sign JAR files can be used for OSGi. To create the needed certificates and their associated public and private keys, you’ll use the keytool command provided by the JDK. It can create and manage certificates and keys inside a keystore, which is an encrypted file defined by Java for this purpose. For this scenario, you use key-tool to create two certificates and their associated public/private keys for the core and third-party domains like this: