gnucash-on-windows master: Skip certificate check on aquamaniac's website.

Geert Janssens gjanssens at code.gnucash.org
Sun Mar 4 13:56:06 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/27f16f78 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/3834d0a0 (commit)



commit 27f16f78e2a8d9379b30fec6c1f4a5e47469a88d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Mar 4 19:54:14 2018 +0100

    Skip certificate check on aquamaniac's website.
    
    Mingw's wget isn't smart enough to discover www.aquamaniacs.de is covered by
    the git.aquamaniacs.de certificate.

diff --git a/install-impl.sh b/install-impl.sh
index de9fe0c..f688d16 100644
--- a/install-impl.sh
+++ b/install-impl.sh
@@ -280,6 +280,9 @@ function inst_aqbanking() {
     then
         echo "AqBanking ${AQBANKING_VERSION} already installed in $_AQBANKING_UDIR. skipping."
     else
+        # Mingw's wget isn't clever enough to find alternative dns names in certificates
+        # So it won't find that git.aquamaniacs.de (the cert CN) is equivalent to www.aquamaniacs.de
+        WGET_EXTRA_OPTIONS="--no-check-certificate"
         wget_unpacked $AQBANKING_URL $DOWNLOAD_DIR $TMP_DIR
         assert_one_dir $TMP_UDIR/aqbanking-*
         qpushd $TMP_UDIR/aqbanking-*
@@ -647,6 +650,9 @@ function inst_gwenhywfar() {
 #        INSTALLED_GWEN=`${PKG_CONFIG} --modversion gwenhywfar`
 #        echo "GWENHYWFAR installed version ${INSTALLED_GWEN} doesn't match required version ${GWENHYWFAR_VERSION}"
 #        exit
+        # Mingw's wget isn't clever enough to find alternative dns names in certificates
+        # So it won't find that git.aquamaniacs.de (the cert CN) is equivalent to www.aquamaniacs.de
+        WGET_EXTRA_OPTIONS="--no-check-certificate"
         wget_unpacked $GWENHYWFAR_URL $DOWNLOAD_DIR $TMP_DIR
         assert_one_dir $TMP_UDIR/gwenhywfar-*
         qpushd $TMP_UDIR/gwenhywfar-*



Summary of changes:
 install-impl.sh | 6 ++++++
 1 file changed, 6 insertions(+)



More information about the gnucash-changes mailing list