... | ... | @@ -130,3 +130,22 @@ if [ -d backup-latest/images ]; then |
|
|
docker exec openqa_webui chown -R geekotest /var/lib/openqa/images
|
|
|
fi
|
|
|
```
|
|
|
|
|
|
## How to renew SSL cert
|
|
|
|
|
|
This should be automated as soon as possible, but in the meantime... here's how to get a new SSL cert as root@openqa.gnome.org:
|
|
|
|
|
|
```
|
|
|
cd /root/ssl_cert/acme.sh/
|
|
|
git pull
|
|
|
cd ..
|
|
|
docker run -it --rm --privileged -p80:80 -v $PWD:/root debian:bullseye-slim /bin/bash
|
|
|
apt-get update && apt-get install curl socat
|
|
|
cd /root/.acme.sh/
|
|
|
./acme.sh --issue --standalone -d openqa.gnome.org
|
|
|
exit
|
|
|
cd /root/openqa
|
|
|
cp ../ssl_cert/.acme.sh/openqa.gnome.org/ca.cer workdir/data/certs/ssl.crt/ca.crt
|
|
|
cp ../ssl_cert/.acme.sh/openqa.gnome.org/openqa.gnome.org.key workdir/data/certs/ssl.key/server.key
|
|
|
cp ../ssl_cert/.acme.sh/openqa.gnome.org/openqa.gnome.org.cer workdir/data/certs/ssl.crt/server.crt
|
|
|
``` |
|
|
\ No newline at end of file |