it-at-m / digiwf-core

central workflow automation and integration platform based on the free process framework Camunda.
MIT License
19 stars 7 forks source link

Update elasticsearch certificates #1280

Closed simonhir closed 6 months ago

simonhir commented 7 months ago

The certificates of the following elasticsearch servers are due soon and need to be replaced.

Suggested solutions

1. Use certbot

certbot certonly --standalone -d digitalwfesp001.srv.muenchen.de --server https://zertifikate.muenchen.de:21443/acme/ws/Acme.svc/LHMPServerACME/directory -m itm.digiwf@muenchen.de

# for deploy hook script
mkdir /opt/lhm/elasticsearch/config/ssl
cp -rLf /etc/letsencrypt/live/digitalwfesp001.srv.muenchen.de /opt/lhm/elasticsearch/config/ssl
chmod -R 750 /opt/lhm/elasticsearch/config/ssl
chown -R root:elasticsearch /opt/lhm/elasticsearch/config/ssl
systemctl restart elasticsearch

2. Replace manually

Acceptance criteria

Reference

darenegade commented 7 months ago

@markostreich Wäre ein gutes Thema für dich, denke ich

markostreich commented 7 months ago
markostreich commented 7 months ago

Kann mich trotz 24h-Root-Ticket nicht zum Root machen. Es stimmt noch was mit meinem Zugriff nicht. Ich nehme Kontakt zu den Linux-Kollegen auf.

Was möglich war, liegt jeweils im transfer-Ordner bereit.

markostreich commented 6 months ago

Optimize läuft nun überall. In processestest funktioniert es wieder, nachdem digiwf-engine-rest-service aus dem digiwf-core deployt wurde.

@simonhir willst du noch etwas reviewen? Leider habe ich wegen der Probleme auf der Umgebung doch nicht den Cert-Bot umgesetzt.

simonhir commented 6 months ago

@markostreich ideal 👍 passt sonst so, ich würde es aber noch auf Review lassen bis der ops-MR fertig ist