Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are happy with just a self signed cert, it can be created using the keytool command. Example:
>keytool

Code Block
languagebash
keytool -genkeypair -alias policy_agent -keyalg RSA -keysize 2048 -keystore keystore.jks -validity 3650 -storepass <key store password>

The following parameters in the application.yaml needs to be updated (the non relevant parameters for this are omitted):
...

...

When this is done you can update the config map that holds the configuration for the service:>kubectl create configmap 

Code Block
languagebash
kubectl create configmap  policymanagementservice-configmap-config --from-file=./config --dry-run=client -n nonrtric -o yaml | kubectl apply -f -

The three files file be placed in the configuration directory for the service. A POD restart is needed for the changes to take effect.

...

The command for updating the config map is:>kubectl create configmap 

Code Block
languagebash
kubectl create configmap  enrichmentservice-configmap --from-file=./config --dry-run=client -n nonrtric -o yaml | sudo kubectl apply -f -

A1 Policy Management Service, configuration of SSL in Docker

...