Re: Bug#845456: Please add a udeb to ca-certificates

2016-12-01 Thread Michael Shuler
Just a quick follow up. Thijs uploaded ca-certificates_20161130 this
morning, and it is currently in the NEW binary-BYHAND queue for approval.

-- 
Kind regards,
Michael



Re: Bug#845456: Please add a udeb to ca-certificates

2016-11-28 Thread Michael Shuler
Thanks for the patches to enable the use of HTTPS in the installer. This
does sound useful. (And apologies for the holiday delay in replying.)

I'd like to complete a pending stable upload, first, then I'll work on
this request.

-- 
Kind regards,
Michael



Re: Bug#845456: Please add a udeb to ca-certificates

2016-11-24 Thread Philipp Kern
On 11/23/2016 05:17 PM, Philipp Kern wrote:
> In an effort to make HTTPS usable in the installer (e.g. to fetch
> preseed, authorized_keys files, or packages) ca-certificates needs to
> add a udeb with the certificates. The result has to be usable by
> openssl, which requires that c_rehash has been run on the directory.
> Unfortunately c_rehash is a Perl script that requires the openssl binary
> to run, so it's not suitable to run in the installer environment.
> 
> Please find attached a patch that a) adds a ca-certificates-udeb
> package, b) installs all off Mozilla's certificates into /etc/ssl/certs
> and c) runs c_rehash on the resulting directory during build. I needed
> to rename dirs, postinst and postrm. Hence there are two patch files for
> clarity: one in unified format and one in git diff format.
> 
> I'd be nice to have this in Stretch. Not having the certificates
> available blocked inclusion of a HTTPS-capable wget altogether.

One follow-up patch is needed here to make openssl pick up the certs.
/usr/lib/ssl/certs is the default search path compiled into openssl. On
a plain Debian system a symlink from /usr/lib/ssl/certs to
/etc/ssl/certs is shipped in the "openssl" binary package, but in the
installer environment we don't have that and shipping it in libssl's
udeb would be inconvenient.

--- /dev/null
+++ b/debian/ca-certificates-udeb.links
@@ -0,0 +1 @@
+etc/ssl/certs usr/lib/ssl/certs
--- a/debian/rules
+++ b/debian/rules
@@ -66,6 +66,7 @@ install: build
 binary-indep: build install
dh_testdir
dh_testroot
+   dh_link
dh_installdebconf -n
dh_installdocs
dh_installexamples

With this addition to ca-certificates-udeb and with it and wget-udeb
included into the installer image, fetches via HTTPS work for me.

Kind regards and thanks
Philipp Kern



signature.asc
Description: OpenPGP digital signature