Commit 4f575080 authored by Leigh Stoller's avatar Leigh Stoller

Add pcwa cert generation and install.

parent af54cea5
......@@ -90,6 +90,9 @@ ronnode.pem: dirsmade ronnode.cnf ca.cnf $(SRCDIR)/mkclient.sh
pcplab.pem: dirsmade pcplab.cnf ca.cnf $(SRCDIR)/mkclient.sh
$(SRCDIR)/mkclient.sh pcplab
pcwa.pem: dirsmade pcwa.cnf ca.cnf $(SRCDIR)/mkclient.sh
$(SRCDIR)/mkclient.sh pcwa
dirsmade:
-mkdir -p certs
-mkdir -p newcerts
......@@ -108,12 +111,14 @@ install:
boss-installX: $(INSTALL_ETCDIR)/emulab.pem \
$(INSTALL_ETCDIR)/server.pem \
$(INSTALL_ETCDIR)/pcplab.pem \
$(INSTALL_ETCDIR)/pcwa.pem \
$(INSTALL_ETCDIR)/capture.pem
$(INSTALL_DATA) localnode.pem $(INSTALL_ETCDIR)/client.pem
chmod 640 $(INSTALL_ETCDIR)/emulab.pem
chmod 640 $(INSTALL_ETCDIR)/server.pem
chmod 640 $(INSTALL_ETCDIR)/client.pem
chmod 640 $(INSTALL_ETCDIR)/pcplab.pem
chmod 640 $(INSTALL_ETCDIR)/pcwa.pem
chmod 640 $(INSTALL_ETCDIR)/capture.pem
client-install:
......
[ req ]
prompt = no
default_bits = 1024
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
x509_extensions = v3_ca # The extentions to add to the self signed cert
encrypt_key = no
string_mask = nombstr
[ req_distinguished_name ]
C = US
ST = Utah
L = Salt Lake City
O = Utah Network Testbed
# tmcd uses OU and CN for verification.
OU = pcwa
CN = @BOSSNODE@
emailAddress = @TBOPSEMAIL@
[ req_attributes ]
[ v3_ca ]
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid:always,issuer:always
basicConstraints = CA:true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment