I have ConfD 7.3 Basic installed. My confd.conf file has the following relevant section:
<webui>
<enabled>true</enabled>
<docroot>/opt/confd/var/confd/webui/docroot</docroot>
<transport>
<tcp>
<enabled>true</enabled>
<ip>0.0.0.0</ip>
<port>8008</port>
</tcp>
<ssl>
<enabled>true</enabled>
<ip>0.0.0.0</ip>
<port>8888</port>
<keyFile>/opt/confd/var/confd/webui/cert/host.key</keyFile>
<certFile>/opt/confd/var/confd/webui/cert/host.cert</certFile>
</ssl>
</transport>
</webui>
I try to issue JSON RPC request but getting error:
rtuser@rtuser-ThinkPad-T590:~$
rtuser@rtuser-ThinkPad-T590:~$ ps -e |grep confd
9580 ? 00:00:00 confd
rtuser@rtuser-ThinkPad-T590:~$
rtuser@rtuser-ThinkPad-T590:~$
rtuser@rtuser-ThinkPad-T590:~$ curl -X POST -H ‘Content-Type: application/json’ -d ‘{“jsonrpc”: “2.0”, “id”: 1,“method”: “login”,“params”: {“user”: “admin”,“passwd”: “admin”}}’ http://127.0.0.1:8008/jsonrpc
curl: (7) Failed to connect to 127.0.0.1 port 8008: Connection refused
rtuser@rtuser-ThinkPad-T590:~$
Does it mean that JSON RPC functionality not included in ConfD Basic?
Thanks,
Yuriy.