[rs-commit] r273 - in /rs-interop/trunk: ./ src/ src/site/ src/site/resources/ src/site/resources/images/ src/site/xhtml5/ src/site/xhtml5/timestamp/

rs-commit at redwax.eu rs-commit at redwax.eu
Tue Feb 11 01:01:05 CET 2020


Author: minfrin at redwax.eu
Date: Tue Feb 11 01:01:04 2020
New Revision: 273

Log:
Initial add of the interop site, with the time stamp
as initial implemeentation.

Added:
    rs-interop/trunk/pom.xml
    rs-interop/trunk/src/
    rs-interop/trunk/src/site/
    rs-interop/trunk/src/site/resources/
    rs-interop/trunk/src/site/resources/images/
    rs-interop/trunk/src/site/resources/images/big-picture.png   (with props)
    rs-interop/trunk/src/site/resources/images/candles-cyan.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/candles-green.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/candles-lightgreen.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/candles-orange.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/candles-purple.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/candles-red.jpg   (with props)
    rs-interop/trunk/src/site/resources/images/menu-lines.png   (with props)
    rs-interop/trunk/src/site/site.xml
    rs-interop/trunk/src/site/xhtml5/
    rs-interop/trunk/src/site/xhtml5/index.xhtml5
    rs-interop/trunk/src/site/xhtml5/timestamp/
    rs-interop/trunk/src/site/xhtml5/timestamp/index.xhtml5
Modified:
    rs-interop/trunk/   (props changed)

Propchange: rs-interop/trunk/
------------------------------------------------------------------------------
--- svn:ignore	(added)
+++ svn:ignore	Tue Feb 11 01:01:04 2020
@@ -0,0 +1 @@
+target

Added: rs-interop/trunk/pom.xml
==============================================================================
--- rs-interop/trunk/pom.xml	(added)
+++ rs-interop/trunk/pom.xml	Tue Feb 11 01:01:04 2020
@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>eu.redwax.rs</groupId>
+  <artifactId>rs-interop</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+
+  <name>Maven</name>
+  <url>http://maven.apache.org/</url>
+  <inceptionYear>2020</inceptionYear>
+
+  <distributionManagement>
+    <site>
+      <id>website</id>
+      <url>scp://webhost.company.com/www/website</url>
+    </site>
+  </distributionManagement>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-webdav-jackrabbit</artifactId>
+        <version>3.2.0</version>
+      </extension>
+    </extensions>
+    <plugins>
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.8.2</version>
+        <configuration>
+          <locales>en,fr</locales>
+<!--          <moduleExcludes><xhtml5>modules.xhtml5</xhtml5></moduleExcludes>-->
+          <saveProcessedContent>true</saveProcessedContent>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.wagon</groupId>
+            <artifactId>wagon-ssh</artifactId>
+            <version>3.3.3</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.simplify4u.plugins</groupId>
+        <artifactId>sitemapxml-maven-plugin</artifactId>
+        <version>2.0.0</version>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+

Added: rs-interop/trunk/src/site/resources/images/big-picture.png
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/big-picture.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-cyan.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-cyan.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-green.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-green.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-lightgreen.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-lightgreen.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-orange.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-orange.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-purple.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-purple.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/candles-red.jpg
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/candles-red.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/resources/images/menu-lines.png
==============================================================================
Binary file - no diff available.

Propchange: rs-interop/trunk/src/site/resources/images/menu-lines.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: rs-interop/trunk/src/site/site.xml
==============================================================================
--- rs-interop/trunk/src/site/site.xml	(added)
+++ rs-interop/trunk/src/site/site.xml	Tue Feb 11 01:01:04 2020
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project name="Redwax Server" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+
+  <publishDate position="bottom" />
+  <version position="bottom" />
+
+  <body>
+
+    <breadcrumbs>
+      <item name="Redwax" href="https://redwax.eu/"/>
+      <item name="Redwax Server" href="https://redwax.eu/rs/"/>
+      <item name="Interop" href="https://interop.redwax.eu/rs/"/>
+    </breadcrumbs>
+
+    <menu name="Interop">
+      <item name="About" href="https://interop.redwax.eu/rs/"/>
+      <item name="Time Stamp" href="https://redwax.eu/rs/timestamp/"/>
+    </menu>
+
+    <links>
+      <item name="Home - Redwax Project" href="https://redwax.eu/" />
+      <item name="Jira - Redwax Project" href="https://jira.redwax.eu/"/>
+      <item name="Source - Redwax Project" href="https://source.redwax.eu/"/>
+      <item name="CI - Redwax Project" href="https://ci.redwax.eu/"/>
+    </links>
+
+  </body>
+
+  <skin>
+    <groupId>eu.redwax.maven.skin</groupId>
+    <artifactId>maven-redwax-skin</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </skin>
+
+  <custom>
+    <redwaxSkin>
+      <bannerStyle>spotlight style2 orient-right content-align-right image-position-left</bannerStyle>
+      <topBarStyle>invert</topBarStyle>
+      <topBarIcon>
+        <name>Redwax</name>
+        <alt>Redwax</alt>
+        <src>/images/menu-lines.png</src>
+        <href>/index.html</href>
+      </topBarIcon>
+
+      <icons>
+        <quora>https://quora.com/redwax</quora>
+        <twitter>https://twitter.com/redwaxproject</twitter>
+      </icons>
+    </redwaxSkin>
+  </custom>
+
+</project>

Added: rs-interop/trunk/src/site/xhtml5/index.xhtml5
==============================================================================
--- rs-interop/trunk/src/site/xhtml5/index.xhtml5	(added)
+++ rs-interop/trunk/src/site/xhtml5/index.xhtml5	Tue Feb 11 01:01:04 2020
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+  <head>
+    <title>Redwax Server Interop Site</title>
+    <meta name="description" content="Interoperate with the Redwax Server." />
+    <link rel="canonical" href="https://interop.redwax.eu/rs/" />
+  </head>
+  <body>
+
+    <section class="spotlight style1 orient-left content-align-left image-position-left" id="introduction">
+      <div class="content null">
+        <h2>Redwax Server Interop Site</h2>
+        <p>
+          Test implementations of client software against a testing instance of the Redwax Server.
+        </p>
+      </div>
+      <div class="image">
+        <img src="images/candles-red.jpg" alt="" />
+      </div>
+    </section>
+
+    <section class="spotlight style1 orient-right content-align-left image-position-left" id="reference">
+      <div class="content null">
+        <h2>Interop Services</h2>
+        <dl class="alt">
+          <dt><a href="timestamp/">Time Stamp Service</a></dt>
+          <dd>
+            Test against a test instance of a Redwax RFC3161 Time Stamp server based on
+            <a href="https://redwax.eu/rs/docs/latest/mod/mod_timestamp.html">mod_timestamp</a>.
+          </dd>
+        </dl>
+      </div>
+      <div class="image">
+        <img src="images/candles-green.jpg" alt="" />
+      </div>
+    </section>
+
+    <section class="spotlight style1 orient-left content-align-left image-position-left" id="userguide">
+      <div class="content null">
+        <h2>User's Guide</h2>
+        <ul class="alt">
+          <li><a href="subjects.html">Subjects and Subject Alternative Names</a></li>
+        </ul>
+      </div>
+      <div class="image">
+        <img src="images/candles-purple.jpg" alt="" />
+      </div>
+    </section>
+
+    <section class="spotlight style1 orient-right content-align-left image-position-left" id="userguide">
+      <div class="content null">
+        <h2>Other Topics</h2>
+        <ul class="alt">
+          <li><a href="faq.html">Frequently Asked Questions</a></li>
+          <li><a href="architecture.html">Architecture Principles</a></li>
+        </ul>
+      </div>
+      <div class="image">
+        <img src="images/candles-orange.jpg" alt="" />
+      </div>
+    </section>
+
+  </body>
+</html>
+

Added: rs-interop/trunk/src/site/xhtml5/timestamp/index.xhtml5
==============================================================================
--- rs-interop/trunk/src/site/xhtml5/timestamp/index.xhtml5	(added)
+++ rs-interop/trunk/src/site/xhtml5/timestamp/index.xhtml5	Tue Feb 11 01:01:04 2020
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+  <head>
+    <title>Timestamp Interoperation</title>
+    <meta name="description" content="Interoperate with the Redwax RFC3161 Time Stamp Protocol module."/>
+    <link rel="canonical" href="https://interop.redwax.eu/rs/timestamp/"/>
+  </head>
+  <body>
+    <section class="spotlight style2 orient-right content-align-left image-position-left">
+      <div class="content null">
+        <h2>Time Stamp Protocol</h2>
+        <p>
+          Interoperate with the Redwax RFC3161 Time Stamp Protocol module.
+        </p>
+        <p>
+          On this page we implement a <a href="https://www.ietf.org/rfc/rfc3161.txt">
+          Time Stamp Protocol</a> endpoint that supports assertions of proof that
+          a datum existed before a particular time.
+        </p>
+        <p>
+          The Redwax Interop server is for testing purposes only.
+        </p>
+      </div>
+      <div class="image">
+        <img src="../images/candles-red.jpg" alt=""/>
+      </div>
+    </section>
+    <div class="none">
+      <section class="wrapper style1 align-center" id="introduction">
+        <div class="inner">
+          <h2>Time Stamp Server Details</h2>
+          <p>
+            When testing your Time Stamp 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/timestamp</code>
+                      </td>
+                    </tr>
+                    <tr>
+                      <td>Time Stamp Digest</td>
+                      <td>
+                        <code>SHA256</code>
+                      </td>
+                    </tr>
+                    <tr>
+                      <td>Time Stamp Policy</td>
+                      <td>
+                        <code>1.2.3.4</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
+            timestamp server. 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>
+            <img src="../images/mod_timestamp-1.png" style="width: 100%;"/>
+          </div>
+          <div class="index align-left">
+            <section>
+              <header>
+                <h3>
+                  Configuration
+                </h3>
+              </header>
+              <div class="content">
+                <p>
+                  Here we set the timestamp handler, and set the certificates and
+                  keys to be used for timestamping.
+                </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 !timestamp_module>
+  LoadModule timestamp_module /usr/lib64/httpd/modules/mod_timestamp.so
+</IfModule>
+
+<Location /rs/timestamp>
+  SetHandler timestamp
+  TimestampSigningCertificate /etc/pki/interop/timestamp.cert
+  TimestampSigningKey /etc/pki/interop/private/timestamp.key
+  TimestampDigest SHA256
+  TimestampDefaultPolicy 1.2.3.4
+  CASimpleSerialRandom on
+  CASimpleTime on
+</Location>
+]]></code>
+                </pre>
+              </div>
+            </section>
+          </div>
+        </div>
+      </section>
+      <section class="wrapper style1 align-center" id="directive-reference">
+        <div class="inner">
+          <h2>Time Stamping with OpenSSL</h2>
+          <p>
+            Run the following <a href="https://openssl.org">OpenSSL</a> commands
+            to create and verify a timestamp.
+          </p>
+          <div class="index align-left">
+            <section>
+              <header>
+                <h3>Command Line</h3>
+              </header>
+              <div class="content">
+                <p>
+                  To generate a timestamp, ask openssl to generate a timestamp
+                  request containing the hash of the file you want to timestamp
+                  by running the command  below.
+                </p>
+                <pre>
+<code><![CDATA[openssl ts -query -data my-novel.doc \
+  -cert -sha256 -no_nonce \
+  -out request.tsq
+]]></code>
+                </pre>
+                <p>
+                  POST the request to the Redwax Interop Time Stamp server, and
+                  record the response.
+                </p>
+                <pre>
+<code><![CDATA[curl -H "Content-type: application/timestamp-query" \
+  --data-binary @request.tsq \
+  https://interop.redwax.eu/test/timestamp > reply.tsq
+]]></code>
+                </pre>
+                <p>
+                  Display the timestamp using the commands below.
+                </p>
+                <pre>
+<code><![CDATA[openssl ts -reply -text -in reply.tsq
+openssl asn1parse -inform DER -in reply.tsq
+]]></code>
+                </pre>
+              </div>
+            </section>
+          </div>
+        </div>
+      </section>
+    </div>
+  </body>
+</html>



More information about the rs-commit mailing list