try FQDN farm02.wit.com

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-10 18:19:12 -05:00
parent 7e89b1e50e
commit a7505dfabc
5 changed files with 30 additions and 12 deletions

View File

@ -80,25 +80,25 @@ farm04:
mkdir -p /etc/pki/libvirt/private/ mkdir -p /etc/pki/libvirt/private/
cp /etc/pki/CA/farm04_server_certificate.pem /etc/pki/libvirt/servercert.pem cp /etc/pki/CA/farm04_server_certificate.pem /etc/pki/libvirt/servercert.pem
cp /etc/pki/CA/farm04_server_key.pem /etc/pki/libvirt/private/serverkey.pem cp /etc/pki/CA/farm04_server_key.pem /etc/pki/libvirt/private/serverkey.pem
cp /etc/pki/CA/farm04_client_certificate.pem /etc/pki/libvirt/clientcert.pem #cp /etc/pki/CA/farm04_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm04_client_key.pem /etc/pki/libvirt/private/clientkey.pem #cp /etc/pki/CA/farm04_client_key.pem /etc/pki/libvirt/private/clientkey.pem
farm05: farm05:
cp /etc/pki/CA/certificate_authority_certificate.pem /etc/pki/CA/cacert.pem cp /etc/pki/CA/certificate_authority_certificate.pem /etc/pki/CA/cacert.pem
mkdir -p /etc/pki/libvirt/private/ mkdir -p /etc/pki/libvirt/private/
cp /etc/pki/CA/farm05_server_certificate.pem /etc/pki/libvirt/servercert.pem cp /etc/pki/CA/farm05_server_certificate.pem /etc/pki/libvirt/servercert.pem
cp /etc/pki/CA/farm05_server_key.pem /etc/pki/libvirt/private/serverkey.pem cp /etc/pki/CA/farm05_server_key.pem /etc/pki/libvirt/private/serverkey.pem
cp /etc/pki/CA/farm05_client_certificate.pem /etc/pki/libvirt/clientcert.pem #cp /etc/pki/CA/farm05_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm05_client_key.pem /etc/pki/libvirt/private/clientkey.pem #cp /etc/pki/CA/farm05_client_key.pem /etc/pki/libvirt/private/clientkey.pem
list-farm01: list-farm01:
virsh -c qemu://farm01/system list virsh -c qemu://farm01/system list
list-farm02: list-farm02:
virsh -c qemu://farm02/system list virsh -c qemu://farm02.wit.com/system list
list-farm03: list-farm03:
virsh -c qemu://farm03/system list virsh -c qemu://farm03.wit.com/system list
list-farm04: list-farm04:
virsh -c qemu://farm04/system list virsh -c qemu://farm04/system list

View File

@ -4,14 +4,24 @@ info:
all: all:
certtool --generate-privkey > farm01_client_key.pem certtool --generate-privkey > farm01_client_key.pem
certtool --generate-privkey > farm02_client_key.pem certtool --generate-privkey > farm02_client_key.pem
certtool --generate-privkey > farm03_client_key.pem
certtool --generate-privkey > admin_desktop_client_key.pem certtool --generate-privkey > admin_desktop_client_key.pem
make farm01-client make farm01-client
make farm02-client make farm02-client
make farm03-client
make admin-client make admin-client
clean: clean:
rm *.pem rm *.pem
admin-client:
certtool --generate-certificate \
--template admin_desktop_client_template.info \
--load-privkey admin_desktop_client_key.pem \
--load-ca-certificate ../certificate_authority_certificate.pem \
--load-ca-privkey ../certificate_authority_key.pem \
--outfile admin_desktop_client_certificate.pem
farm01-client: farm01-client:
certtool --generate-certificate \ certtool --generate-certificate \
--template farm01_client_template.info \ --template farm01_client_template.info \
@ -28,10 +38,10 @@ farm02-client:
--load-ca-privkey ../certificate_authority_key.pem \ --load-ca-privkey ../certificate_authority_key.pem \
--outfile farm02_client_certificate.pem --outfile farm02_client_certificate.pem
admin-client: farm03-client:
certtool --generate-certificate \ certtool --generate-certificate \
--template admin_desktop_client_template.info \ --template farm03_client_template.info \
--load-privkey admin_desktop_client_key.pem \ --load-privkey farm03_client_key.pem \
--load-ca-certificate ../certificate_authority_certificate.pem \ --load-ca-certificate ../certificate_authority_certificate.pem \
--load-ca-privkey ../certificate_authority_key.pem \ --load-ca-privkey ../certificate_authority_key.pem \
--outfile admin_desktop_client_certificate.pem --outfile farm03_client_certificate.pem

View File

@ -2,7 +2,7 @@ country = US
state = Wisconsin state = Wisconsin
locality = Madison locality = Madison
organization = WIT.COM Inc. organization = WIT.COM Inc.
cn = farm02 cn = farm02.wit.com
tls_www_client tls_www_client
encryption_key encryption_key
signing_key signing_key

View File

@ -0,0 +1,8 @@
country = US
state = Wisconsin
locality = Madison
organization = WIT.COM Inc.
cn = farm03
tls_www_client
encryption_key
signing_key

View File

@ -1,5 +1,5 @@
organization = WIT.COM Inc. organization = WIT.COM Inc.
cn = farm02 cn = farm02.wit.com
tls_www_server tls_www_server
encryption_key encryption_key
signing_key signing_key