• Topic
  • Discussion
  • ODS.VirtPubSubHubACL(1.1) -- DAVWikiAdmin? , 2017-06-13 06:05:55 Edit WebDAV System Administrator 2017-06-13 06:05:55

    Set Up PubSubHub? to use WebID? Protocol / IP based control lists

    The following Guide demonstrates how to subscribes to the publications:

    Prerequisites

    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

    1. Open the subscription demo client UI via HTTPS: in our example this would be:

      https://ods-qa.openlinksw.com/psh/subscribe.html

    2. 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.



    3. In the "Subscribe/Unsubscribe" shown form enter:
      1. Callback: (the subscriber URL): your host subscribe URL. In our example it it: http://ods-qa.openlinksw.com/psh/callback.vsp ;
      2. Topic type: Feed ;
      3. 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 :



    4. Click "Subscribe".
    5. As result should be shown "Success" message:



    6. 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