Hi, I am struggling with the same issue, but with Handle. Previously we had only one relevant JVM option:
-Ddataverse.handlenet.admcredfile
Now I am not able to transform it to the dataverse.pid.providers based dataverse.pid.*. type setting, I always have a "Unable to find property with name dataverse.pid.hdl.handlenet.key.path" type of error message. https://guides.dataverse.org/en/latest/installation/config.html does not provide me enough instructions, for example this text: "Can also be set via MicroProfile Config API sources, e.g. the environment variable DATAVERSE_PID_HANDLENET_KEY_PATH. This setting was formerly known as dataverse.handlenet.admcredfile and has been renamed." (https://guides.dataverse.org/en/latest/installation/config.html#legacy-single-pid-provider-dataverse-pid-handlenet-key-path) does not tell me renamed to what. Is there any sample config I could follow?
This issue seemingly blocks the upgrade from 6.1 to 6.2 (and the consecutive versions).
That looks like a typo.
Do you want to continue with the legacy settings or switch to the new way?
I guess the legacy settings will not work in the up to date version (6.6), or in the near future, so I would like to switch to the new one
Great, a good starting point might be to look at #docs > domain.xml example for configuring DataCite PID provider
I know it's for DataCite, not Handles, but the pattern should be similar.
The new way is similar to how storage is configured, if you're familiar with that.
Thanks! I tried something similar, but I did not find equivalent for the handlenet.admcredfile key.
I tried e.g. dataverse.pid.hdl.handlenet.path, but Dataverse asked me to give some other properties. However this was the only property previously in our instance.
What about dataverse.pid.hdl.handlenet.key.path?
Same. Anyway, I will keep experimenting this, and take the HandleProviderFactory class as a reference point.
Thanks for the help!
Yes, I was hoping you'd dive into the code. :big_smile:
This thread might help: https://groups.google.com/g/dataverse-community/c/ZyhO54in3Jo/m/auUpWkerEAAJ ![]()
I figured out the problem. Documentation says (https://guides.dataverse.org/en/6.2/installation/config.html#dataverse-pid-handlenet-passphrase):
„The key file may (and should) be encrypted with a passphrase (used for encryption with AES-128). See also chapter 1.4 “Authentication” of the Handle.Net Technical Documentation” - This passphrase is mandatory in the code, while it is optional in the description, and in previous Dataverse versions. A fake passphrase worked in our case.
Interesting! Can you please make a pull request?
Last updated: Oct 30 2025 at 06:21 UTC