You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.0 KiB
18 lines
1.0 KiB
#!/bin/sh |
|
|
|
#set -vx |
|
|
|
# At this time, while this script is trivial, we ignore any parameters given. |
|
# However, for backwards compatibility reasons, future versions of this script must |
|
# support the syntax "update-ca-trust extract" trigger the generation of output |
|
# files in $DEST. |
|
|
|
DEST=/etc/pki/ca-trust/extracted |
|
|
|
# OpenSSL PEM bundle that includes trust flags |
|
# (BEGIN TRUSTED CERTIFICATE) |
|
/usr/bin/p11-kit extract --comment --format=openssl-bundle --filter=certificates --overwrite $DEST/openssl/ca-bundle.trust.crt |
|
/usr/bin/p11-kit extract --comment --format=pem-bundle --filter=ca-anchors --overwrite --purpose server-auth $DEST/pem/tls-ca-bundle.pem |
|
/usr/bin/p11-kit extract --comment --format=pem-bundle --filter=ca-anchors --overwrite --purpose email $DEST/pem/email-ca-bundle.pem |
|
/usr/bin/p11-kit extract --comment --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
|
|
|