Create Certificate
The following recipe is a PHP implementation of http://test.foafssl.org/cert/.
This PHP script creates a X.509 certificate which is automatically loaded into your browser. This script only works with browsers that support the KEYGEN tag: Firefox, Safari and Opera.
The generated client certificate holds an indirect reference to the supplied foaf:Person in the certificate's subjectAltName and can be used as part of the FOAF + SSL protocol as outlined by Henry Story.
Step 1: Enter a deferencable foaf:Person URI