[rs-commit] r316 - in /rs-interop/trunk/src/site/xhtml5/spkac: ./ index.xhtml5
rs-commit at redwax.eu
rs-commit at redwax.eu
Sun Mar 1 02:35:34 CET 2020
Author: minfrin at redwax.eu
Date: Sun Mar 1 02:35:32 2020
New Revision: 316
Log:
Add interop for SPKAC.
Depends on https://issues.apache.org/jira/browse/DOXIA-607.
Added:
rs-interop/trunk/src/site/xhtml5/spkac/
rs-interop/trunk/src/site/xhtml5/spkac/index.xhtml5
Added: rs-interop/trunk/src/site/xhtml5/spkac/index.xhtml5
==============================================================================
--- rs-interop/trunk/src/site/xhtml5/spkac/index.xhtml5 (added)
+++ rs-interop/trunk/src/site/xhtml5/spkac/index.xhtml5 Sun Mar 1 02:35:32 2020
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <title>SPKAC Demo/Interop</title>
+ <meta name="description" content="Interoperate with the Redwax Signed Public Key and Challenge module."/>
+ <link rel="canonical" href="https://interop.redwax.eu/rs/spkac/"/>
+ </head>
+ <body>
+ <section class="spotlight style2 orient-right content-align-left image-position-left">
+ <div class="content null">
+ <h2>Signed Public Key and Challenge Demo/Interop</h2>
+ <p>
+ Interoperate with the <a href="https://redwax.eu/rs/docs/latest/mod/mod_spkac.html">Redwax Signed Public Key and Challenge module</a>.
+ </p>
+ <p>
+ We have implemented a <a href="https://en.wikipedia.org/wiki/SPKAC">
+ Netscape SPKAC</a> endpoint that allows you to test your client
+ implementation against a Redwax Server.
+ </p>
+ <p>
+ The code being run is the most up to date build from trunk/master in source
+ control, and is built and deployed automatically. The Redwax Interop server
+ is for testing purposes only.
+ </p>
+ </div>
+ <div class="image">
+ <img src="../images/candles-green.jpg" alt=""/>
+ </div>
+ </section>
+ <div class="none">
+ <section class="wrapper style1 align-center" id="introduction">
+ <div class="inner">
+ <h2>Signed Public Key and Challenge Demo/Interop Server</h2>
+ <p>
+ When testing your SPKAC client implementation, use the following
+ details.
+ </p>
+ <div class="index align-left">
+ <section id="summary">
+ <header>
+ <h3>Summary</h3>
+ </header>
+ <div class="content">
+
+ <table>
+ <tbody>
+ <tr>
+ <td>Server URL</td>
+ <td>
+ <code>https://interop.redwax.eu<wbr />/test/spkac</code>
+ </td>
+ </tr>
+ <tr>
+ <td>Time Source</td>
+ <td>
+ <code>System Clock</code>
+ </td>
+ </tr>
+ <tr>
+ <td>Serial Numbers</td>
+ <td>
+ <code>Random</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+ </section>
+ </div>
+ </div>
+ </section>
+ <section class="wrapper style1 align-center" id="integration">
+ <div class="inner">
+ <h2>Redwax Module Configuration</h2>
+ <p>
+ The following configuration is used to implement this
+ SPKAC endpoint. The configuration below is added to
+ a standard secure virtualhost Apache configuration, as
+ described
+ <a href="https://httpd.apache.org/docs/2.4/vhosts/name-based.html">here</a>.
+ </p>
+ <div class="index align-left">
+ <section>
+ <header>
+ <h3>
+ Configuration
+ </h3>
+ </header>
+ <div class="content">
+ <p>
+ Here we set the spkac handler, and set the certificates and
+ keys to be used for signing the certificate.
+ </p>
+ <pre>
+<code><![CDATA[<IfModule !ca_module>
+ LoadModule ca_module /usr/lib64/httpd/modules/mod_ca.so
+</IfModule>
+<IfModule !ca_simple_module>
+ LoadModule ca_simple_module /usr/lib64/httpd/modules/mod_ca_simple.so
+</IfModule>
+<IfModule !spkac_module>
+ LoadModule spkac_module /usr/lib64/httpd/modules/mod_spkac.so
+</IfModule>
+
+<Location /test/simple/spkac>
+ Require all granted
+ SetHandler spkac
+ SpkacSubjectRequest CN
+ SpkacSubjectRequest O
+ SpkacSubjectRequest C
+ SpkacSubjectAltNameRequest rfc822Name
+</Location>
+]]></code>
+ </pre>
+ </div>
+ </section>
+ </div>
+ </div>
+ </section>
+ <section class="wrapper style1 align-center" id="directive-reference">
+ <div class="inner">
+ <h2>SPKAC with MacOS Safari</h2>
+ <p>
+ The following example form shows how to generate a request based on the
+ keygen tag.
+ </p>
+ <div class="index align-left">
+ <section>
+ <header>
+ <h3>Html Form</h3>
+ </header>
+ <div class="content">
+
+ <p>
+ To request a certificate be generated, submit the form below.
+ </p>
+
+ <form id="createform" method="POST" action="https://interop.redwax.eu/test/simple/spkac">
+ <p>
+ <label>Enter a common name:</label>
+ <input type="text" name="subject-CN" id="name" placeholder="Common Name" value="" />
+ </p>
+ <p>
+ <label>Highest size is best:</label>
+ <keygen name="key" id="keygen-1" challenge="challenge" />
+ </p>
+ <p>
+ <button id="submit" type="submit">Create</button>
+ </p>
+
+ </form>
+
+ </div>
+ </section>
+ </div>
+ </div>
+ </section>
+ </div>
+ </body>
+</html>
More information about the rs-commit
mailing list