blob: 7a7533b77b62004cbb87e7bd0c395a8d725d8a61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
$NetBSD: gnupg2,v 1.1 2020/11/27 16:18:35 gdt Exp $
To configure the mozilla-rootcerts certificates as trusted for users
of gnupg2, do the following (assuming default PKG_SYSCONFBASE and a
Bourne shell):
# mkdir -p /usr/pkg/etc/gnupg
# cd /usr/pkg/etc/gnupg
# for c in /etc/openssl/certs/*.pem; do
> openssl x509 -in $c -noout -fingerprint|sed 's|^.*=\(.*\)|\1 S|'
> done > trustlist.txt
|