Run the Web Server self-signed script on one of the Fabric nodes. The script’s purpose is to create a key in the key store.
certificates.sh genkey <ALIAS> [CNAME] [PASSWORD]
In case of multiple Fabric nodes, if you want all nodes to have the same certificate, copy the ${user.home}/.keystore
that was created in the first step, to each of the nodes in the same path/location.
In case Fabric is running in a Docker container, the user may be different. In such case you need to change the file owner by running the following command:
chown root.root ~/.keystore
Uncomment the following in the config.ini file:
#WEB_SERVICE_SECURE_PORT=8443
Note that the password of the certification file should be defined here:
#WEB_SERVICE_CERT_PASSPHRASE=
https://10.10.10.10:8443/
https://10.10.10.10:8443/deploy
In order to securely access Fabric Data via its JDBC driver, the TLS option is set to true by default in the [jdbc-server] section of the config.ini file:
## Turn on TLS for the Fabric driver protocol
#SECURE=true
To disable hardening, set the SECURE flag to false.
Run the Web Server self-signed script on one of the Fabric nodes. The script’s purpose is to create a key in the key store.
certificates.sh genkey <ALIAS> [CNAME] [PASSWORD]
In case of multiple Fabric nodes, if you want all nodes to have the same certificate, copy the ${user.home}/.keystore
that was created in the first step, to each of the nodes in the same path/location.
In case Fabric is running in a Docker container, the user may be different. In such case you need to change the file owner by running the following command:
chown root.root ~/.keystore
Uncomment the following in the config.ini file:
#WEB_SERVICE_SECURE_PORT=8443
Note that the password of the certification file should be defined here:
#WEB_SERVICE_CERT_PASSPHRASE=
https://10.10.10.10:8443/
https://10.10.10.10:8443/deploy
In order to securely access Fabric Data via its JDBC driver, the TLS option is set to true by default in the [jdbc-server] section of the config.ini file:
## Turn on TLS for the Fabric driver protocol
#SECURE=true
To disable hardening, set the SECURE flag to false.