Add cert-sync, to handle CA certificate sync with Debian CA store

Former-commit-id: f5d01a39629b45a97e8d7044cab8aa4808003d6e
This commit is contained in:
Jo Shields 2015-01-13 11:51:18 +00:00
parent b1e90f84fd
commit a9e7cd2c07
4 changed files with 18 additions and 1 deletions

3
debian/ca-certificates-mono.install vendored Normal file
View File

@ -0,0 +1,3 @@
/usr/bin/cert-sync
/usr/lib/mono/4.5/cert-sync.exe*
debian/mono-keystore /etc/ca-certificates/update.d/

2
debian/ca-certificates-mono.triggers vendored Normal file
View File

@ -0,0 +1,2 @@
activate update-ca-certificates

View File

@ -1 +1 @@
c2bb54cc89a990c47859f27a34260417b4e95982
82202a3c693b4ed172f5f25ba040c109519b7c7f

12
debian/mono-keystore vendored Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -e
echo "Updating Mono key store"
# always return true, even if the tool blows up for some reason.
# we don't want to mess with users at install-time. failure here
# isn't really fatal anyway, just inconvenient
/usr/bin/cert-sync /etc/ssl/certs/ca-certificates.crt || true
echo "Done"