<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 -
 -  $Id$
 -
 -  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
 -  project.
 -
 -  Copyright (C) 1998-2018 OpenLink Software
 -
 -  This project is free software; you can redistribute it and/or modify it
 -  under the terms of the GNU General Public License as published by the
 -  Free Software Foundation; only version 2 of the License, dated June 1991.
 -
 -  This program is distributed in the hope that it will be useful, but
 -  WITHOUT ANY WARRANTY; without even the implied warranty of
 -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 -  General Public License for more details.
 -
 -  You should have received a copy of the GNU General Public License along
 -  with this program; if not, write to the Free Software Foundation, Inc.,
 -  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 -
-->
<refentry id="FS-S-1">
  <refmeta>
    <refentrytitle>FOAF+SSL</refentrytitle>
    <refmiscinfo>tutorial</refmiscinfo>
  </refmeta>
  <refnamediv>
      <refname>Using HTTP client to perform FOAF+SSL connection</refname>
    <refpurpose>Using HTTP client to perform FOAF+SSL connection</refpurpose>
  </refnamediv>

<refsect1 id="FS-S-1a">
<title>Example</title>
<para>
In order to have the rest of examples of this section working, the following steps must be performed.
</para>
<itemizedlist mark="bullet">
    <listitem>
	Setup the ODS and Policy Manager packages.
    </listitem>
    <listitem>
	Follow instructions on <ulink url="http://ods.openlinksw.com/wiki/ODS/ODSPkiSetup">Setting-Up issuer CA</ulink>
    </listitem>
    <listitem>
	Follow instructions on <ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtAuthServerUI">Virtuoso Authentication Server UI</ulink>
    </listitem>
    <listitem>
	In above step register your WebID with secure SPARQL endpoint. Note: "sparql-ssl" endpoint is alias of "sparql-webid" endpoint.
    </listitem>
    <listitem>
	Export your certificate and key containing the WebID mentioned before from browsers key store as PKCS#12 package.
    </listitem>
    <listitem>
	Run the register_cert.vsp to import your key into Virtuoso Server PKI repository.
    </listitem>
    <listitem>
	Run the foaf_ssl_client.vsp.
    </listitem>
</itemizedlist>
</refsect1>
</refentry>
