WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] make SSL CN include domain name

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] make SSL CN include domain name
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Tue, 16 Mar 2010 15:01:39 +0000
Delivery-date: Tue, 16 Mar 2010 07:52:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Simon Rowe <simon.rowe@xxxxxxxxxxxxx>
# Date 1268650777 0
# Node ID 9939d7ac2b5473e681144b20739cc050feefc6d2
# Parent  2d0db62e48957f6ec9ed3fc26313aad6f0e07176
CA-26611: make CN include domain name.

Signed-off-by: Simon Rowe <simon.rowe@xxxxxxxxxxxxx>

diff -r 2d0db62e4895 -r 9939d7ac2b54 scripts/init.d-xapissl
--- a/scripts/init.d-xapissl    Tue Mar 16 14:58:48 2010 +0000
+++ b/scripts/init.d-xapissl    Mon Mar 15 10:59:37 2010 +0000
@@ -72,7 +72,7 @@
        fi
        if [ ! -f ${PEMFILE} ]; then
                # generating a pem file
-               CN=`hostname`
+               CN=`hostname -f`
 
                case "${CN}" in
                    localhost*)
1 file changed, 1 insertion(+), 1 deletion(-)
scripts/init.d-xapissl |    2 +-


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] make SSL CN include domain name, David Scott <=