NOTE: For interactive network certificate generation, please use the Keymaker application at https://keymaker.umd.edu. This CLI tool is more appropriate for automated processes or batch processing. If you have any questions about which tool to use, please feel free to reach out to the Enterprise Linux Services team at request@umd.edu.
The locallinux-create-network-cert CLI tool generates host-level certificates for department-managed Linux workstations to connect to UMD's policy-driven network (802.1X authentication). This tool is specifically for Linux hosts that are owned by the University but managed by departmental system administrators rather than DIT.
Before using this tool, you must request permission to generate certificates for your department's hosts:
The email will create a ticket with your request for the Linux team to configure the appropriate permissions for your glue user to generate certificates for your specified hostname pattern.
adm locallinux-create-network-cert -hostname <hostname.subdomain.umd.edu> -department <Department>
# Generate certificate for a specific host
adm locallinux-create-network-cert -hostname "myserver.mydept.umd.edu" -department "MyDept"
First, ensure you are connected to VPN. Then:
ssh your-username@glue.umd.edu
Authenticate with your username and password.
Run the certificate generation command and save the output to a file.
# Generate and save certificates
adm locallinux-create-network-cert \
-hostname "myhost.mydept.umd.edu" \
-department "MyDept" > combined_cert.pem
The tool outputs both the certificate and private key in a single stream. You'll need to separate them:
# Extract the certificate
sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' combined_cert.pem > host_cert.pem
# Extract the private key
sed -n '/-----BEGIN PRIVATE KEY-----/,/-----END PRIVATE KEY-----/p' combined_cert.pem > host_key.pem
# Secure the private key
chmod 600 host_key.pem
See KB0020362 for instructions on uploading the certificate and private key to the host and configuring the network connection profiles on both RHEL and Ubuntu distributions.
The tool returns both certificate and private key via STDOUT in PEM format:
-----BEGIN CERTIFICATE-----
MIIFxjCCA66gAwIBAgITaP...
[certificate data]
...xmKj5L6Gw==
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w...
[private key data]
...XYZ123==
-----END PRIVATE KEY-----
If you receive permission denied errors:
For problems with network connectivity after certificate installation:
For issues with the certificate generation tool or network configuration:
This certificate system is part of UMD's Campus Network Refresh initiative. The certificates enable: