14 lines
751 B
Plaintext
14 lines
751 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
#set -vx
|
||
|
|
||
|
DEST=/etc/pki/ca-trust/extracted
|
||
|
|
||
|
# OpenSSL PEM bundle that includes trust flags
|
||
|
# (BEGIN TRUSTED CERTIFICATE)
|
||
|
/usr/bin/p11-kit extract --format=openssl-bundle --filter=certificates --overwrite $DEST/openssl/ca-bundle.trust.crt
|
||
|
/usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose server-auth $DEST/pem/tls-ca-bundle.pem
|
||
|
/usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose email $DEST/pem/email-ca-bundle.pem
|
||
|
/usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose code-signing $DEST/pem/objsign-ca-bundle.pem
|
||
|
/usr/bin/p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth $DEST/java/cacerts
|