Skip to content

Enabling access via HTTPS

Stan Reshetnyk edited this page Nov 29, 2016 · 2 revisions

By default Harmony interface and JSON-RPC will be accessible via HTTP. If you want to enable SSL (https) for Harmony, there a few short steps you will need to take:

  1. Get yourself an SSL certificate: use self-signed certificate or get one from a Certificate Authority
  2. Run Harmony with addition command line parameters.

There is included a self-signed certificate in project sources. To run Harmony with it need to launch:

gradlew runRopsten -Dserver.ssl.key-store=keystore.p12 -Dserver.ssl.key-store-password=123qwe

Now Harmony could be used at https://localhost:8080