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

Generate new certificates or renew old ones #99

Open
eum602 opened this issue Oct 2, 2020 · 0 comments
Open

Generate new certificates or renew old ones #99

eum602 opened this issue Oct 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@eum602
Copy link
Member

eum602 commented Oct 2, 2020

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
@eum602 eum602 added the enhancement New feature or request label Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant