<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.uugrn.org/index.php?action=history&amp;feed=atom&amp;title=UUGRN%3AJails%2Fsatellite_%28ex%29%2FSSL_SubjectAltName%2Fcsr.sh</id>
	<title>UUGRN:Jails/satellite (ex)/SSL SubjectAltName/csr.sh - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.uugrn.org/index.php?action=history&amp;feed=atom&amp;title=UUGRN%3AJails%2Fsatellite_%28ex%29%2FSSL_SubjectAltName%2Fcsr.sh"/>
	<link rel="alternate" type="text/html" href="https://wiki.uugrn.org/index.php?title=UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&amp;action=history"/>
	<updated>2026-05-20T09:25:42Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in UUGRN</subtitle>
	<generator>MediaWiki 1.42.5</generator>
	<entry>
		<id>https://wiki.uugrn.org/index.php?title=UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&amp;diff=10193&amp;oldid=prev</id>
		<title>Rabe: Rabe verschob Seite UUGRN:Jails/satellite/SSL SubjectAltName/csr.sh nach UUGRN:Jails/satellite (ex)/SSL SubjectAltName/csr.sh: existiert nicht mehr</title>
		<link rel="alternate" type="text/html" href="https://wiki.uugrn.org/index.php?title=UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&amp;diff=10193&amp;oldid=prev"/>
		<updated>2013-04-07T01:39:32Z</updated>

		<summary type="html">&lt;p&gt;Rabe verschob Seite &lt;a href=&quot;/UUGRN:Jails/satellite/SSL_SubjectAltName/csr.sh&quot; class=&quot;mw-redirect&quot; title=&quot;UUGRN:Jails/satellite/SSL SubjectAltName/csr.sh&quot;&gt;UUGRN:Jails/satellite/SSL SubjectAltName/csr.sh&lt;/a&gt; nach &lt;a href=&quot;/UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&quot; title=&quot;UUGRN:Jails/satellite (ex)/SSL SubjectAltName/csr.sh&quot;&gt;UUGRN:Jails/satellite (ex)/SSL SubjectAltName/csr.sh&lt;/a&gt;: existiert nicht mehr&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. April 2013, 01:39 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Rabe</name></author>
	</entry>
	<entry>
		<id>https://wiki.uugrn.org/index.php?title=UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&amp;diff=7583&amp;oldid=prev</id>
		<title>SHL: Quelle leider unbekannt, siehe Hinweis im Code,</title>
		<link rel="alternate" type="text/html" href="https://wiki.uugrn.org/index.php?title=UUGRN:Jails/satellite_(ex)/SSL_SubjectAltName/csr.sh&amp;diff=7583&amp;oldid=prev"/>
		<updated>2009-05-01T21:52:36Z</updated>

		<summary type="html">&lt;p&gt;Quelle leider unbekannt, siehe Hinweis im Code,&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# csr.sh: Certificate Signing Request Generator&lt;br /&gt;
# Copyright(c) 2005 Evaldo Gardenali &amp;lt;evaldo@gardenali.biz&amp;gt;&lt;br /&gt;
# All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
# Redistribution and use in source and binary forms, with or without&lt;br /&gt;
# modification, are permitted provided that the following conditions&lt;br /&gt;
# are met:&lt;br /&gt;
# 1. Redistributions of source code must retain the above copyright&lt;br /&gt;
#    notice, this list of conditions and the following disclaimer.&lt;br /&gt;
# 2. Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
#    notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
#    documentation and/or other materials provided with the distribution.&lt;br /&gt;
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;quot;AS IS&amp;quot;&lt;br /&gt;
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;br /&gt;
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE&lt;br /&gt;
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE&lt;br /&gt;
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR&lt;br /&gt;
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF&lt;br /&gt;
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS&lt;br /&gt;
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN&lt;br /&gt;
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)&lt;br /&gt;
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE&lt;br /&gt;
# POSSIBILITY OF SUCH DAMAGE.&lt;br /&gt;
#&lt;br /&gt;
# ChangeLog:&lt;br /&gt;
# Mon May 23 00:14:37 BRT 2005 - evaldo - Initial Release&lt;br /&gt;
# be safe about permissions&lt;br /&gt;
LASTUMASK=`umask`&lt;br /&gt;
umask 077&lt;br /&gt;
# OpenSSL for HPUX needs a random file&lt;br /&gt;
RANDOMFILE=$HOME/.rnd&lt;br /&gt;
# create a config file for openssl&lt;br /&gt;
CONFIG=`mktemp -q /tmp/openssl-conf.XXXXXXXX`&lt;br /&gt;
if [ ! $? -eq 0 ]; then&lt;br /&gt;
    echo &amp;quot;Could not create temporary config file. exiting&amp;quot;&lt;br /&gt;
    exit 1&lt;br /&gt;
fi&lt;br /&gt;
echo &amp;quot;Private Key and Certificate Signing Request Generator&amp;quot;&lt;br /&gt;
echo &amp;quot;This script was designed to suit the request format needed by&amp;quot;&lt;br /&gt;
echo &amp;quot;the CAcert Certificate Authority. www.CAcert.org&amp;quot;&lt;br /&gt;
echo&lt;br /&gt;
printf &amp;quot;Short Hostname (ie. imap big_srv www2): &amp;quot;&lt;br /&gt;
read HOST&lt;br /&gt;
printf &amp;quot;FQDN/CommonName (ie. www.example.com) : &amp;quot;&lt;br /&gt;
read COMMONNAME&lt;br /&gt;
echo &amp;quot;Type SubjectAltNames for the certificate, one per line. Enter a blank line to finish&amp;quot;&lt;br /&gt;
SAN=1        # bogus value to begin the loop&lt;br /&gt;
SANAMES=&amp;quot;&amp;quot;   # sanitize&lt;br /&gt;
while [ ! &amp;quot;$SAN&amp;quot; = &amp;quot;&amp;quot; ]; do&lt;br /&gt;
    printf &amp;quot;SubjectAltName: DNS:&amp;quot;&lt;br /&gt;
    read SAN&lt;br /&gt;
    if [ &amp;quot;$SAN&amp;quot; = &amp;quot;&amp;quot; ]; then break; fi # end of input&lt;br /&gt;
    if [ &amp;quot;$SANAMES&amp;quot; = &amp;quot;&amp;quot; ]; then&lt;br /&gt;
        SANAMES=&amp;quot;DNS:$SAN&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
        SANAMES=&amp;quot;$SANAMES,DNS:$SAN&amp;quot;&lt;br /&gt;
    fi&lt;br /&gt;
done&lt;br /&gt;
# Config File Generation&lt;br /&gt;
cat &amp;lt;&amp;lt;EOF &amp;gt; $CONFIG&lt;br /&gt;
# -------------- BEGIN custom openssl.cnf -----&lt;br /&gt;
 HOME                    = $HOME&lt;br /&gt;
EOF&lt;br /&gt;
if [ &amp;quot;`uname -s`&amp;quot; = &amp;quot;HP-UX&amp;quot; ]; then&lt;br /&gt;
    echo &amp;quot; RANDFILE                = $RANDOMFILE&amp;quot; &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
fi&lt;br /&gt;
cat &amp;lt;&amp;lt;EOF &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
 oid_section             = new_oids&lt;br /&gt;
 [ new_oids ]&lt;br /&gt;
 [ req ]&lt;br /&gt;
 default_days            = 730            # how long to certify for&lt;br /&gt;
 default_keyfile         = $HOME/${HOST}_privatekey.pem&lt;br /&gt;
 distinguished_name      = req_distinguished_name&lt;br /&gt;
 encrypt_key             = no&lt;br /&gt;
 string_mask = nombstr&lt;br /&gt;
EOF&lt;br /&gt;
if [ ! &amp;quot;$SANAMES&amp;quot; = &amp;quot;&amp;quot; ]; then&lt;br /&gt;
    echo &amp;quot;req_extensions = v3_req # Extensions to add to certificate request&amp;quot; &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
fi&lt;br /&gt;
cat &amp;lt;&amp;lt;EOF &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
 [ req_distinguished_name ]&lt;br /&gt;
 commonName              = Common Name (eg, YOUR name)&lt;br /&gt;
 commonName_default      = $COMMONNAME&lt;br /&gt;
 commonName_max          = 64&lt;br /&gt;
 [ v3_req ]&lt;br /&gt;
EOF&lt;br /&gt;
if [ ! &amp;quot;$SANAMES&amp;quot; = &amp;quot;&amp;quot; ]; then&lt;br /&gt;
    echo &amp;quot;subjectAltName=$SANAMES&amp;quot; &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
fi&lt;br /&gt;
echo &amp;quot;# -------------- END custom openssl.cnf -----&amp;quot; &amp;gt;&amp;gt; $CONFIG&lt;br /&gt;
echo &amp;quot;Running OpenSSL...&amp;quot;&lt;br /&gt;
openssl req -batch -config $CONFIG -newkey rsa:2048 -out $HOME/${HOST}_csr.pem&lt;br /&gt;
echo &amp;quot;Copy the following Certificate Request and paste into CAcert website to obtain a Certificate.&amp;quot;&lt;br /&gt;
echo &amp;quot;When you receive your certificate, you &amp;#039;should&amp;#039; name it something like ${HOST}_server.pem&amp;quot;&lt;br /&gt;
echo&lt;br /&gt;
cat $HOME/${HOST}_csr.pem&lt;br /&gt;
echo&lt;br /&gt;
echo The Certificate request is also available in $HOME/${HOST}_csr.pem&lt;br /&gt;
echo The Private Key is stored in $HOME/${HOST}_privatekey.pem&lt;br /&gt;
echo&lt;br /&gt;
rm $CONFIG&lt;br /&gt;
#restore umask&lt;br /&gt;
umask $LASTUMASK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>SHL</name></author>
	</entry>
</feed>