From f036b9c0da685d11e341d61e5aaeb75cac576111 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Wed, 17 Jul 2024 06:45:00 -0400 Subject: add pkg_repository hostclass --- files/usr/local/etc/ssl/repo.crt.readme | 3 +++ files/usr/local/etc/ssl/repo.key.readme | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 files/usr/local/etc/ssl/repo.crt.readme create mode 100644 files/usr/local/etc/ssl/repo.key.readme (limited to 'files/usr/local/etc/ssl') diff --git a/files/usr/local/etc/ssl/repo.crt.readme b/files/usr/local/etc/ssl/repo.crt.readme new file mode 100644 index 0000000..1c1ad53 --- /dev/null +++ b/files/usr/local/etc/ssl/repo.crt.readme @@ -0,0 +1,3 @@ +Generate this file using: + + openssl rsa -in site/files/usr/local/etc/ssl/repo.key.pkg_repository -pubout -out site/files/usr/local/etc/ssl/repo.crt.freebsd diff --git a/files/usr/local/etc/ssl/repo.key.readme b/files/usr/local/etc/ssl/repo.key.readme new file mode 100644 index 0000000..3b14bc6 --- /dev/null +++ b/files/usr/local/etc/ssl/repo.key.readme @@ -0,0 +1,4 @@ +Generate this file using: + + openssl genrsa -out site/files/usr/local/etc/ssl/repo.key.pkg_repository 4096 + ./vault encrypt site/files/usr/local/etc/ssl/repo.key.pkg_repository -- cgit v1.2.3