Encrytpion Module between two server

I have two servers nextcloud 15 with shared storage and shared database I can not use the encryption module from one server to another. when I activate it on a server, the second one displays the error:

the invalid private for the encryption application. Please login to your password.

Thank You in advance