By default, DigitalNote allows JSON-RPC commands to be sent to http://localhost:10257 and accepts connections only from the localhost.
It can be configured to allow HTTPS connections. You must follow the steps below for this to work properly.
-
Setup a certificate and private key. A self signed certificate will work.
- cd ~/.DigitalNote
- openssl genrsa -out server.pem 4096
- openssl req -new -x509 -nodes -sha1 -days 3650 -key server.pem > server.cert (NOTE: you should NOT enter a passphrase)
-
Configure NeosCoin to use SSL
- Stop your current DigitalNoted or DigitalNote-qt
- Edit the DigitalNote.conf and add rpcssl=1
-
Restart DigitalNote to make these changes take effect.
-
Optionally you can test SSL functionality using the openssl s_client command
- openssl s_client -connect localhost:15004