From 1f5366ed757afd0cb7bd16fcf6ad775b2614c9af Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 12 Mar 2020 12:58:10 -0400 Subject: [PATCH] Use mbedTLS with standard CA certificate location (Closes: #927889) Specify mbedTLS for https for both builds and pass in the standard certificate location since it otherwise fails to set a certificate path if openssl and ca-certificates are not installed at build time. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 523fc1d07..15ebf2f4a 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,8 @@ override_dh_auto_configure: dh_auto_configure --builddirectory=build-debian-release -- \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DUSE_OPENSSL:BOOL=OFF \ + -DUSE_HTTPS=mbedTLS \ + -DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \ -DUSE_CURL_SSL:BOOL=ON \ -DUSE_GSSAPI:BOOL=ON \ -DTHREADSAFE:BOOL=ON \ @@ -28,6 +30,7 @@ override_dh_auto_configure: -DCMAKE_BUILD_TYPE:STRING=Release \ -DTHREADSAFE:BOOL=ON \ -DUSE_HTTPS=mbedTLS \ + -DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \ -DUSE_CURL_SSL:BOOL=ON \ -DUSE_GSSAPI:BOOL=ON \ -DBUILD_CLAR:BOOL=OFF \