summaryrefslogtreecommitdiff
path: root/localcsr
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-15 11:05:53 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-15 11:05:53 +0200
commitb2325632bd7241d5d0a5ce5ed353d9f704fb9161 (patch)
tree43c8e81d86a0d9e8f36ffa9c4b4e1e93ba3bf180 /localcsr
parentf7bf137e51e94343661427d4828b1d8d9a879d6b (diff)
Strip now optional DNS: prefix from prompt.
Diffstat (limited to 'localcsr')
-rwxr-xr-xlocalcsr2
1 files changed, 1 insertions, 1 deletions
diff --git a/localcsr b/localcsr
index c50dd5d..6e62392 100755
--- a/localcsr
+++ b/localcsr
@@ -62,7 +62,7 @@ echo "Enter a blank line to finish"
SAN=1 # bogus value to begin the loop
SANAMES="" # sanitize
while [ ! "$SAN" = "" ]; do
- printf "SubjectAltName: DNS:"
+ printf "SubjectAltName: "
read SAN
if [ "$SAN" = "" ]; then break; fi # end of input
SAN=$(echo "$SAN" | perl -pe 's/^\s*([^:]+)$/DNS:$1/') #'