... | ... | @@ -55,7 +55,7 @@ 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, in this way:
|
|
|
- extend the existing credentials file with the new parameters and add the certificates location like indicated here:
|
|
|
```
|
|
|
{
|
|
|
"handle_server_url": "https://epic3.storage.surfsara.nl:8001",
|
... | ... | @@ -68,9 +68,24 @@ The upgrade to the new handle library can be done as follows: |
|
|
"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_ .
|
|
|
- test _epicclient2.py_:
|
|
|
```
|
|
|
/opt/eudat/b2safe/cmd/epicclient2.py os /opt/eudat/b2safe/conf/credentials create www.test.com
|
|
|
```
|
|
|
|
|
|
To switch to _epicclient2.py_ in B2SAFE do:
|
|
|
- change link _/var/lib/irods/iRODS/server/bin/cmd/epicclient.py_ to point to _/opt/eudat/b2safe/cmd/epicclient2.py_.
|
|
|
- adjust the the parameter _epicAPI_ in _/opt/eudat/b2safe/rulebase/local.re_.
|
|
|
- *epicApi=\<handle_server_url\>
|
|
|
|
|
|
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.
|
|
|
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. If you previously enabled iRODS with the CURL plugin and made use of it in B2SFE you need to set
|
|
|
```
|
|
|
getConfParameters(*msiFreeEnabled, *msiCurlEnabled, *authzEnabled) {
|
|
|
...
|
|
|
*msiCurlEnabled=bool("false");
|
|
|
}
|
|
|
```
|
|
|
in _/opt/eudat/b2safe/rulebase/local.re_.
|
|
|
|
|
|
---------------
|
|
|
Experimental features
|
... | ... | |