How to setup a Litecoin node

Note: Setting up Litecoin and Bitcoin nodes is very similar, you can check my previous post on how to setup a Bitcoin node. This tutorial describes how to setup a new Litecoin relay node on Linux server – this node will be used as relay node in the Litecoin network and it’s not recommended to store anything in it’s wallet.

Download Litecoin from official website:”>
At the moment the most recent version can be downloaded using this direct link:”>

Extract archive:

Create litecoin configuration file:

Create new file in ~/.litecoin called litecoin.conf with following contents (you should setup different password):

Start litecoin daemon

From this moment initial node bootstrapping begins – you’ll see a lot of server resources being used, especially disk and CPU

After few moments you can check if your node is downloading blocks from the network (bootstrapping), use this command:

You should see similar output:

This is how fully synchronized node looks at the moment:

Additional step: Depending on your firewall configuration you might need to add following exceptions to the iptables:

How to verify that SSL certificate matches key

In order to verify that OpenSSL key matches certificate you can run following command: For key:

and for certificate:

and for CSR (Certificate Signing Request):

In all cases you should get the same output, for example:

If the output is the same in all cases this means that keys match certificate. If the output is different in even one case, you have a mismatch somewhere.
If you have multiple certificates in one .crt file, for example your domain SSL certs and CA certs, make sure your certificate is at the top of the file, because this tool checks only first certificate from the input file.