If your PDB server uses a custom root CA certificate, you may want to provide REVEN with this information.
In order to do so when REVEN is running in a Docker container, please follow the procedure below:
- Temporarily copy
<your_root_CA_certificate.crt>
to~/Reven2
on the server hosting REVEN, assuming you kept~/Reven2
as REVEN’s work directory. - From REVEN’s installation directory, run the REVEN container:
./run.sh
- Get your container’s name:
sudo docker ps | grep tetrane
- Get a terminal in your container:
sudo docker exec -it <container_name> bash
- From the docker’s terminal, add the root CA certificate to the list of known root CA certificates:
cat /Reven2/<your_root_CA_certificate.crt> >> /reven/share/reven/quasar/venv/lib/python3.5/site-packages/certifi/cacert.pem
- Exit the container’s terminal:
exit
- Commit your running container to a new image:
sudo docker commit <container_name> tetrane/reven2:2.x.x-with-root-CA
- Stop your running container:
./run.sh
- Edit the
run.sh
script and update theREVEN_VERSION
variable to match your new image’s name: e.g.REVEN_VERSION="2.7.1-with-root-CA"
- Run the container again:
./run.sh
- Remove
<your_root_CA_certificate.crt>
from~/Reven2
.
Comments
0 comments
Please sign in to leave a comment.