on 2019 Mar 01 4:20 PM
I'm testing setting up a synchronization profile on a remote and ran up against a "missing encryption key" error.
There doesn't seem to be a -ek or similar switch as used with dbmlsync but looking through the docs it seems that I should try using an "Authentication Parameters" setup. I've added the authenticate_parameters connection script to the mobilink server and then used the -ap switch in the sync profile to add the ek, such as -ap "encryptionKey". From the docs it seems that this should send the ek to the mobilink server.
However, the error comes pretty quick and checking sp_get_last_synchronize_result(), the error comes after the log scan starts so,it seems this is on the remote side?
The remote is set up to synchronize with the consolidated and dbmlsync works with the -ek. The setup is over an internal network, remote and cons on separate servers.
Appreciate the help.
There was a limitation to the SYNCHRONIZE command before v17.0.10 (which should be released in the next week or so) that prevented it from being able to be run against a strongly encrypted unless you pre-started the dbmlsync process with the -sm switch (and possibly -po to specify the port) and the -ek switch to specify the encyrption key. Even if the database engine had been started and provided with the encyrption key, dbmlsync also needed the encryption key so it could read the offline transaction logs.
In v17.0.10, the syntax of the SYNCHORNIZE command was altered to add a "KEY key" clause so that when the SYNCHRONIZE command spawned the dbmlsync process, it could add the -ek switch to the start line of the dbmlsync process.
Reg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.