From 92f880bf47b00d9544d2ce7c4d2660c0accda193 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Tue, 10 Feb 2009 22:17:38 +0000
Subject: [PATCH] - Second server should be called localhost
---
programs/ssl/test-ca/gen_test_ca.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/ssl/test-ca/gen_test_ca.sh b/programs/ssl/test-ca/gen_test_ca.sh
index f55b260e45..1b9136a935 100755
--- a/programs/ssl/test-ca/gen_test_ca.sh
+++ b/programs/ssl/test-ca/gen_test_ca.sh
@@ -28,7 +28,7 @@ echo "Generating requests"
cat sslconf.txt > sslconf_use.txt;echo "CN=PolarSSL Server 1" >> sslconf_use.txt
openssl req -config sslconf_use.txt -new -key server1.key -out server1.req
-cat sslconf.txt > sslconf_use.txt;echo "CN=PolarSSL Server 2" >> sslconf_use.txt
+cat sslconf.txt > sslconf_use.txt;echo "CN=localhost" >> sslconf_use.txt
openssl req -config sslconf_use.txt -new -key server2.key -out server2.req
cat sslconf.txt > sslconf_use.txt;echo "CN=PolarSSL Client 1" >> sslconf_use.txt