Running Nextcloud on Univention, you receive the error: nextcloud encryption not ready multikeyencryption failed error 0480006c:pem

This error may happen after updating to Nextcloud 25 on UCS, it’s caused by the removal of legacy RC4 cypher. Here is a workaround:

Connect to the USC server as administrator  using SSH.

enter the command sudo –i to elevate your privileges.  

Use the following command to get shell access to the Nextcloud docker:

univention-app shell nextcloud

Install nano text editor by entering the following command:

apt-get install nano

Navigate to /etc/ssl and you will see a file named openssl.cnf

Edit the file by entering the command:

nano openssl.cnf

Edit the [provider_sect] as shown below:

[provider_sect]
default = default_sect
legacy = legacy_sect

Remove the # mark from activate =1 in the [default_sect] as shown below:

[default_sect]
activate = 1

Finally add [legacy_sect] and enter activate = 1 as shown below:

[legacy_sect]
activate = 1

Your cnf file should then look like this:

[provider_sect]
default = default_sect
legacy = legacy_sect

[default_sect]
activate = 1

[legacy_sect]
activate = 1

Save the changes and exit nano, then enter the following commands:

To get the Nextcloud docker ID:

docker ps

to stop and restart the container:

docker stop container_ID

docker start container_ID

 

Your synch and uploads should now begin to work.

 

image

Leave a comment

Your email address will not be published. Required fields are marked *

error: Sorry, copy/paste is disabled
Skip to content