HowTo update a new certificate in the docker container

HowTo update a new certificate in the docker container

Tested with dovecot-connector

1 Step:

Go into the container.

There are two ways:

univention-app shell <appname>

or

docker ps
→ copy the containerID from the contianer 
then
docker exec -it <ContainerID>  /bin/bash

2.Step:

Copy the certificates in the container

docker cp path >containerID>: destination path

docker cp /etc/univention/ssl/ucsCA/CAcert.pem 9e13b58e610c:/usr/share/ca-certificates/CAcert.crt

3 Step:

activate the certificate

update-ca-certificates
1 Like

This topic was automatically closed after 24 hours. New replies are no longer allowed.

Mastodon