Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 977 Bytes

ssl.md

File metadata and controls

25 lines (20 loc) · 977 Bytes

Enabling SSL on original client daemon

By default, DigitalNote allows JSON-RPC commands to be sent to http://localhost:10257 and accepts connections only from the localhost.

JSON-RPC Over SSL Setup

It can be configured to allow HTTPS connections. You must follow the steps below for this to work properly.

  1. 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)
  2. Configure NeosCoin to use SSL

    • Stop your current DigitalNoted or DigitalNote-qt
    • Edit the DigitalNote.conf and add rpcssl=1
  3. Restart DigitalNote to make these changes take effect.

  4. Optionally you can test SSL functionality using the openssl s_client command

    • openssl s_client -connect localhost:15004