<p>First we'll configure the URLs for logs where server certificates are logged:</p>
- <div class="example"><p><code>
- $ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/<br />
- $ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/<br />
- $ ctlogconfig /path/to/conf/log-config dump<br />
- Log entry:<br />
- Record 1<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log1.example.com/<br />
- Time range : -INF to +INF<br />
-<br />
- Log entry:<br />
- Record 2<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log2.example.com/<br />
- Time range : -INF to +INF<br />
- </code></p></div>
+ <div class="example"><pre class="prettyprint lang-sh">$ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/
+$ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+ Record 1
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log1.example.com/
+ Time range : -INF to +INF
+
+Log entry:
+ Record 2
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log2.example.com/
+ Time range : -INF to +INF</pre>
+</div>
<p>Next we'll set the public key of a log where the certificate of our only
backend server is published. In this case it is the log with URL
http://log2.example.com/ which has already been configured.</p>
- <div class="example"><p><code>
- $ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem<br />
- $ ctlogconfig /path/to/conf/log-config dump<br />
- Log entry:<br />
- Record 1<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log1.example.com/<br />
- Time range : -INF to +INF<br />
-<br />
- Log entry:<br />
- Record 2<br />
- Log id : (not configured)<br />
- Public key file: /path/to/conf/log2-pub.pem<br />
- URL : http://log2.example.com/<br />
- Time range : -INF to +INF<br />
- </code></p></div>
+ <div class="example"><pre class="prettyprint lang-sh">$ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+ Record 1
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log1.example.com/
+ Time range : -INF to +INF
+
+Log entry:
+ Record 2
+ Log id : (not configured)
+ Public key file: /path/to/conf/log2-pub.pem
+ URL : http://log2.example.com/
+ Time range : -INF to +INF</pre>
+</div>
</div></div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/programs/ctlogconfig.html" title="English"> en </a> |
<p>First we'll configure the URLs for logs where server certificates are logged:</p>
<example>
- $ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/<br />
- $ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/<br />
- $ ctlogconfig /path/to/conf/log-config dump<br />
- Log entry:<br />
- Record 1<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log1.example.com/<br />
- Time range : -INF to +INF<br />
-<br />
- Log entry:<br />
- Record 2<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log2.example.com/<br />
- Time range : -INF to +INF<br />
+<highlight language="sh">
+$ ctlogconfig /path/to/conf/log-config configure-url http://log1.example.com/
+$ ctlogconfig /path/to/conf/log-config configure-url http://log2.example.com/
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+ Record 1
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log1.example.com/
+ Time range : -INF to +INF
+
+Log entry:
+ Record 2
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log2.example.com/
+ Time range : -INF to +INF
+</highlight>
</example>
<p>Next we'll set the public key of a log where the certificate of our only
http://log2.example.com/ which has already been configured.</p>
<example>
- $ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem<br />
- $ ctlogconfig /path/to/conf/log-config dump<br />
- Log entry:<br />
- Record 1<br />
- Log id : (not configured)<br />
- Public key file: (not configured)<br />
- URL : http://log1.example.com/<br />
- Time range : -INF to +INF<br />
-<br />
- Log entry:<br />
- Record 2<br />
- Log id : (not configured)<br />
- Public key file: /path/to/conf/log2-pub.pem<br />
- URL : http://log2.example.com/<br />
- Time range : -INF to +INF<br />
+<highlight language="sh">
+$ ctlogconfig /path/to/conf/log-config configure-public-key \#2 /path/to/conf/log2-pub.pem
+$ ctlogconfig /path/to/conf/log-config dump
+Log entry:
+ Record 1
+ Log id : (not configured)
+ Public key file: (not configured)
+ URL : http://log1.example.com/
+ Time range : -INF to +INF
+
+Log entry:
+ Record 2
+ Log id : (not configured)
+ Public key file: /path/to/conf/log2-pub.pem
+ URL : http://log2.example.com/
+ Time range : -INF to +INF
+</highlight>
</example>
</section>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="examples" id="examples">Examples</a> <a title="Permanent link" href="#examples" class="permalink">¶</a></h2>
- <div class="example"><p><code>
- httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
- httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
- </code></p></div>
+ <div class="example"><pre class="prettyprint lang-sh">httxt2dbm -i rewritemap.txt -o rewritemap.dbm
+httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm</pre>
+</div>
</div></div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English"> en </a> |
<section id="examples"><title>Examples</title>
<example>
- httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
- httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
+<highlight language="sh">
+httxt2dbm -i rewritemap.txt -o rewritemap.dbm
+httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
+</highlight>
</example>
</section>