Skip to main content

Introduction

Node SSL certificates support secure communication with SKALE Chain endpoints. By default, each node of a SKALE Chain listens on HTTP and WS ports. If SSL certs exist on the node, then HTTPS and WSS ports are also turned on. Node SSL certificates aren’t required to start a node, register it, or create SKALE Chains. However, dApp developers using SKALE Chains need HTTPS/WSS endpoints to work with toolings such as API based wallets and other integrations. Therefore, SSL certificates are required for SKALE Network validator nodes.

Node SSL onboarding

Here’s an example of a step-by-step process of setting up validator node SSL.

Prerequisites

To upload SSL certificates to the node, you’ll have to do a few steps on your side which may vary depending on your domain name provider, certificate authority, etc. See here for reference example of how use free Let’s Encrypt certificates. The steps include:
  • getting domain names for each node.
  • issuing SSL certificates for them.
  • uploading certificates to the node.
  • setting up domain name for the node in the SKALE Manager smart contracts.
This procedure will vary depending on your domain management service (Google Domains, GoDaddy, etc).

Trusted authorities

When choosing CA for getting your SSL certificate, consider a source that will be trusted by most major browsers, operating systems, and other devices. Here’s a list of links that can help you with your decision: Also, here’s a list of the most popular and well-known SSL providers: Besides that, usually, you could purchase an SSL certificate from your domain provider. That could be the most convenient way for you to manage everything from a single place: Most of them usually providing you with a few options like RapidSSL and DigiCert.
Certificates provided by Letsencrypt are widely used now and trusted by most operating systems and devices, so it’s OK to use them for your node, but don’t forget about renewals since Letsencrypt certs expire in 3 months. You can read more about Letsencrypt security and trust here: https://letsencrypt.org/certificates/ and https://letsencrypt.org/2018/08/06/trusted-by-all-major-root-programs.html
Generally, Letsencrypt SSL certs are considered safe, but there are some opponents to the idea of a ‘free SSL certs for everybody’: https://medium.com/swlh/why-lets-encrypt-is-a-really-really-really-bad-idea-d69308887801

Reference Letsencrypt tutorial

This brief tutorial shows you how to generate a wildcard SSL using Letsencrypt.