... | ... | @@ -55,7 +55,19 @@ The current PID registry system in EUDAT is based on the [EPIC implementation of |
|
|
The upgrade to the new handle library can be done as follows:
|
|
|
- install b2handle library
|
|
|
- create private/public keys, certificates and interacts with the PID registry administrator to get the public key uploaded (see [here](https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/B2HANDLE-library-configuration))
|
|
|
- test the new python client called _epicclient2.py_ alongside the working _epicclient.py_. It is enough to extend the existing credentials file with new parameters and add the certificates location in there.
|
|
|
- test the new python client called _epicclient2.py_ alongside the working _epicclient.py_. It is enough to extend the existing credentials file with new parameters and add the certificates location in there, in this way:
|
|
|
```
|
|
|
{
|
|
|
"handle_server_url": "https://epic3.storage.surfsara.nl:8001",
|
|
|
"private_key": "/opt/eudat/b2safe/conf/330_842_USER1_privkey.pem",
|
|
|
"certificate_only": "/opt/eudat/b2safe/conf/330_certificate_only.pem",
|
|
|
"prefix": "842",
|
|
|
"handleowner": "200:0.NA/842",
|
|
|
"reverselookup_username": "842",
|
|
|
"reverselookup_password": "xxxxxxxxxxx",
|
|
|
"HTTPS_verify": "/opt/eudat/b2safe/conf/TERENA-SSL-CA-2.pem"
|
|
|
}
|
|
|
```
|
|
|
- to switch over: change link _/var/lib/irods/iRODS/server/bin/cmd/epicclient.py_ to point to _/opt/eudat/b2safe/cmd/epicclient2.py_ .
|
|
|
|
|
|
Please note that the _msiCurlEnabled_ option is not compatible with the HSv8, so it should not be enabled in case of interaction with the new HSv8 API.
|
... | ... | |