Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Generate new certificates or renew old ones #99

@eum602

Description

@eum602

It would be useful if a user had a way to generate new certificates o renew old ones when those are expired.

As a workaround, the following steps can be followed:

  1. Login with sudo:
sudo -i
  1. move the orion certificates folder to some other location for example:
mv /root/lacchain/orion/certificates/  ~
  1. run the ansible installer in order to update the writer node - please replace the private key and remote user with your right credentials, an also take into consideration the orion and besu versions you are using in your private business orion network and also the besu version configured in the inventory file (located in your local repository)
ansible-playbook -i inventory --private-key=~/.ssh/id_ecdsa -u remote_user site-lacchain-update-writer.yml 

After finishing the installing process, a new certificate folder is created into /root/lacchain/orion

  1. Now execute the following:
cp -r ~/certificates/CAs/* /root/lacchain/orion/certificates/CAs/
  1. Restart your Orion node with:
systemctl restart orion
  1. Verify all is running correctly with
systemctl status orion

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions