If you changed the keystore from the default WSO2 keystore, you need to configure the following files:
wso2carbonkeystore alias to the new keystore alias in the following files.
<IOTS_HOME>/conf/etc/webapp-authenticator-config.xmlfile by replacing
wso2carbonwith the new key store alias.
You will come across 3 references as shown below.
If you added a public certificate, update the Identity Provider (IDP) with the new certificate. This is needed as WSO2 IoT Server uses the JWT token for the servers to communicate with each other.
Follow the steps given below to update the IDP.
If your public certificate is not in the
.pemformat, export it to the
.pemformat using the command given below:
server.crt.pemyou just generated and copy the content between
<IOTS_HOME>/conf/identity/identity-providers/iot_default.xmlfile and replace the content that is under the
<Certificate>property with the content you just copied.