Interact with node via websockets

Generate TLS certificate

Prepare the req.cnf file

Then

You'll get RSA-4096 private key and appropriate self-signed certificate

Set on server side(it's node)

Add the certificate and key to KLY_Plugins/certificates

Now, change the KLY_Plugins/dev_websocket_api/configs.json

Finally, modify the node configs. Go to the directory of your symbiote where directories CONFIGS, CHAINDATA, GENESIS located.

Modify the CONFIGS/common.json section with PLUGINS to enable API over WebSockets:

Set on client side(API user, web1337 side)

On client side you just need to add the path to certificate to mark it as reliable

Usage

Last updated

Was this helpful?