[foaf-protocols] generating certificates and trying out foaf+ssl
Story Henry
henry.story at bblfish.net
Fri Oct 10 08:17:12 CEST 2008
Even better! you can do all this in your browser. Bruno Harbulot had
told me this some time ago, but I only just tried it now.
Go to Firefox Preferences, selected Advanced, then select Encryption.
Click on View Certificates, and import the cert.pkcs file generated
below.
The point your browser to the protected foaf https://www.pipian.com/rdf/tami/juliette-protected-location
You will first have to accept the server certificate and add it to
your trusted certificates, then when the server selects the page,
choose the certificate you just added to your store. You will then get
to see Juliette's protected information in N3.
So this works out of the box with most browsers I would think. Clearly
the user experience could be improoved. It would also be interesting
to think about what a browser with an RDF store could do, in so far as
it could have crawled your foaf files, and having found juliette's
foaf and cert signature, trust the site without asking you?...
Henry
Home page: http://bblfish.net/
On 9 Oct 2008, at 22:41, Story Henry wrote:
>
> I have placed a little program to generate and produce the foaf that
> needs to be added to one's foaf file in sommer.dev.java.net . It is in
> the misc/FoafServer directory
>
> Run it like this:
>
> $ ant jar #make sure your JAVA_HOME is set to java 6
>
> $ java -cp dist/FoafServer.jar
> net.java.dev.sommer.foafserver.utils.GenerateKey -uri http://bblfish.net/people/henry/card#me
> -pass hell0
> [snip]
>
> The foaf there can be added to your foaf file, and then you can query
> Juliette's protected foaf
>
> $ java -cp dist/FoafServer.jar -Djavax.net.ssl.keyStore=cert.pkcs -
> Djavax.net.ssl.keyStorePassword=hell0 -
> Djavax.net.ssl.keyStoreType=PKCS12
> net.java.dev.sommer.foafserver.utils.TestGet https://www.pipian.com/rdf/tami/juliette-protected-location
More information about the foaf-protocols
mailing list