Skip to content

Commit

Permalink
Enhance self-signed certificate instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferya committed May 13, 2024
1 parent 19a9312 commit 7a05097
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,15 @@ Test setup of Drupal (login):
curl -H "Accept: application/json" 'https://islandora.dev/user/login?_format=xml'
# Execute locally to a local/dev site with mkcert SSL
curl --cacert build/certs/rootCA.pem -Headers "Accept: application/json" https://islandora.dev/user/login?_format=xml
# or add build/certs/rootCA.pem to the containers /etc/ssl/certs/ca-certificates.crt
# then
curl -H "Accept: application/json" 'https://islandora.dev/user/login?_format=xml'
```

Create Bag:

``` bash
./bin/console app:islandora_bagger:create_bag -vvv --settings=var/sample_per_bag_config.yaml --node=47
cd ${BAGGER_APP_DIR} && ./bin/console app:islandora_bagger:create_bag -vvv --settings=var/sample_per_bag_config.yaml --node=47
```

Queue item:
Expand Down Expand Up @@ -163,6 +166,10 @@ BAGGER_TAG=latest
BAGGER_DEFAULT_PER_BAG_REGISTER_BAGS_WITH_ISLANDORA=true
```

* if using a local install with a self-signed certificate (e.g., via mkcert and https://github.com/Islandora-Devops/isle-site-template):
* add `build/certs/rootCA.pem` to the containers `/etc/ssl/certs/ca-certificates.crt` file otherwise an SSL exception will occur
* note: this is not automatic at the moment

## References

[Islandora Bagger]: https://github.com/mjordan/islandora_bagger

0 comments on commit 7a05097

Please sign in to comment.