Set Up PubSubHub to use WebID Protocol / IP based control lists
The following Guide demonstrates how to subscribes to the publications:
Prerequisites
- The pubsubhub_dav.vad must be installed
- The HTTPS listener must be configured to accept self-signed certificates
- The Conductor must be installed
Access Control Lists by IP
Creating PSH Virtual Directory
- Make sure there is /psh folder defined at your HTTPS Listener
Testing the WebID Protocol ACLs
- Open the subscription demo client UI via HTTPS: in our example this would be:
https://ods-qa.openlinksw.com/psh/subscribe.html
- As result at this step you will be asked to give a certificate:
- Select the certificate for which WebID we have registered in PSH-SSL ACL to be allowed.
- Select the certificate for which WebID we have registered in PSH-SSL ACL to be allowed.
- In the "Subscribe/Unsubscribe" shown form enter:
- Callback: (the subscriber URL): your host subscribe URL. In our example it it: http://ods-qa.openlinksw.com/psh/callback.vsp
- Topic type: Feed
- Topic: the URL you have registered in PSH ACL from above.
In our example it is: http://ods-qa.openlinksw.com/weblog/dav/dav-blog-0/gems/atom.xml
- Click "Subscribe"
- As result we get Success message:
- Next we try other certificate, or even w/o certificate.
- Note: To manage Firefox to get new certificate you should restart your browser first.
- Then we repeat the same steps above but with difference that we use other certificate
- In this case when we trying to subscribe we will get 'Access denied' error:
Related
- Setting up PubSubHub in ODS
- PubSubHubBub Demo Client Example
- Feed subscription via PubSubHub protocol Example
- Creating and Using a SPARQL-SSL based Endpoint
- Set WebID Protocol ACLs using the Virtuoso Authentication Server UI
- WebID Protocol ACLs Tutorial
- SPARQL OAuth Tutorial
- WebID Protocol Support in OpenLink Data Spaces
- Guide to Setting up a X.509 certificate issuer and HTTPS listener and Generating ODS user certificates
- CA Keys Import using Conductor
- Generate an X.509 Certificate hosted WebID Guide
- ODS Briefcase WebID Protocol Share File Guide
- WebID Protocol Specification
- Test WebID Protocol Certificate page
- WebID Protocol Certificate Generation page
- Virtuoso Demo SPARQL-SSL Endpoint