Skip to content

Instantly share code, notes, and snippets.

@RothAndrew
Last active October 16, 2023 23:02
Show Gist options
  • Save RothAndrew/5ab42acc290b2db13aad08fec2b5e4b4 to your computer and use it in GitHub Desktop.
Save RothAndrew/5ab42acc290b2db13aad08fec2b5e4b4 to your computer and use it in GitHub Desktop.
install-dod-certs-on-amazon-linux-2
#!/bin/bash
wget https://dl.dod.cyber.mil/wp-content/uploads/pki-pke/zip/unclass-certificates_pkcs7_DoD.zip
unzip unclass-certificates_pkcs7_DoD.zip
cd certificates_pkcs7_v5_12_dod/
sudo cp -f ./dod_pke_chain.pem /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment