Skip to content

Instantly share code, notes, and snippets.

@mdhorn
Created January 27, 2020 22:29
Show Gist options
  • Save mdhorn/731d73908a43c31f18f838c13d5535ec to your computer and use it in GitHub Desktop.
Save mdhorn/731d73908a43c31f18f838c13d5535ec to your computer and use it in GitHub Desktop.
swupd fails for cert while insecure
2020/01/27 14:22:09 [INF] Installing base OS and configured bundles
2020/01/27 14:22:09 [DBG] Installing bundles: os-core, os-core-update, NetworkManager, clr-installer, telemetrics, vim, kernel-native
2020/01/27 14:22:09 [DBG] Bundle os-core was already installed with the core bundles, skipping
2020/01/27 14:22:09 [DBG] Bundle os-core-update was already installed with the core bundles, skipping
2020/01/27 14:22:09 [DBG] swupd os-install --debug --allow-insecure-http --contenturl=http://mhorn-clr01.jf.intel.com/mixer/ --versionurl=http://mhorn-clr01.jf.intel.com/mixer/ --path=/tmp/install-821644309 --statedir=/tmp/install-821644309/var/lib/swupd -V latest --force --no-boot-update --json-output -B os-core-update,openssh-server,NetworkManager,clr-installer,telemetrics,vim,kernel-native
2020/01/27 14:22:09 [DBG] Using default shellProxy.DefaultGetProxyValue
2020/01/27 14:22:09 [DBG] [Previous line repeated 4 times]
2020/01/27 14:22:09 [DBG] cmd.Env: [ftp_proxy=ftp://proxy.jf.intel.com:911 FTP_PROXY=ftp://proxy.jf.intel.com:911 http_proxy=http://proxy.jf.intel.com:911 HTTP_PROXY=http://proxy.jf.intel.com:911 https_proxy=http://proxy.jf.intel.com:912 HTTPS_PROXY=http://proxy.jf.intel.com:912 socks_proxy=socks://proxy-socks.jf.intel.com:1080 SOCKS_PROXY=socks://proxy-socks.jf.intel.com:1080 no_proxy=localhost,127.0.0.1,.intel.com NO_PROXY=localhost,127.0.0.1,.intel.com]
2020/01/27 14:22:09 [DBG] [
2020/01/27 14:22:09 [DBG] { "type" : "start", "section" : "os-install" },
2020/01/27 14:22:09 [DBG] { "type" : "warning", "msg" : "This is an insecure connection" },
2020/01/27 14:22:09 [DBG] { "type" : "info", "msg" : "The --allow-insecure-http flag was used, be aware that this poses a threat to the system" },
2020/01/27 14:22:09 [DBG] { "type" : "warning", "msg" : "/tmp/install-821644309//usr/share/clear/versionstamp does not exist!" },
2020/01/27 14:22:09 [DBG] { "type" : "progress", "currentStep" : 1, "totalSteps" : 9, "stepCompletion" : -1, "stepDescription" : "load_manifests" },
2020/01/27 14:22:09 [DBG] Target OS: : Setting indeterminate progress for task load_manifests
2020/01/27 14:22:09 [DBG] { "type" : "debug", "msg" : "Initializing swupd curl library" },
2020/01/27 14:22:09 [DBG] { "type" : "debug", "msg" : "Curl - check_connection url: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest -> <memory>" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest -> <memory>, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest.sig -> <memory>" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest.sig -> <memory>, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Certificate verification error - self signed certificate" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Signature check error Signature check failed!" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Signature Verification failed for URL: http://mhorn-clr01.jf.intel.com/mixer/version/format29/latest" },
2020/01/27 14:22:10 [DBG] { "type" : "info", "msg" : "Installing OS version 10 (latest)" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.tar -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.tar" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.tar -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.tar, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Certificate verification error - self signed certificate" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.sig -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.sig" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.sig -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.sig, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Certificate verification error - self signed certificate" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Signature check error Signature check failed!" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Signature check error (null)" },
2020/01/27 14:22:10 [DBG] { "type" : "warning", "msg" : "Removing corrupt Manifest.MoM artifacts and re-downloading..." },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.tar -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.tar" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.tar -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.tar, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Certificate verification error - self signed certificate" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Start sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.sig -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.sig" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - process_curl_error_codes: curl_ret = 0, response = 200" },
2020/01/27 14:22:10 [DBG] { "type" : "debug", "msg" : "Curl - Complete sync download: http://mhorn-clr01.jf.intel.com/mixer/10/Manifest.MoM.sig -> /tmp/install-821644309/var/lib/swupd/10/Manifest.MoM.sig, status=0" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Certificate verification error - self signed certificate" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Signature check error Signature check failed!" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Signature check error (null)" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "FAILED TO VERIFY SIGNATURE OF Manifest.MoM version 10!!!" },
2020/01/27 14:22:10 [DBG] { "type" : "error", "msg" : "Unable to download/verify 10 Manifest.MoM" },
2020/01/27 14:22:10 [DBG] { "type" : "info", "msg" : " Installation failed" },
2020/01/27 14:22:10 [DBG] { "type" : "progress", "currentStep" : 1, "totalSteps" : 9, "stepCompletion" : 100, "stepDescription" : "load_manifests" },
2020/01/27 14:22:10 [DBG] Target OS: : Task load_manifests completed
2020/01/27 14:22:10 [DBG] { "type" : "end", "section" : "os-install", "status" : 4 }
2020/01/27 14:22:10 [DBG] ]
2020/01/27 14:22:10 [ERR] An error occurred executing command: "swupd os-install --debug --allow-insecure-http --contenturl=http://mhorn-clr01.jf.intel.com/mixer/ --versionurl=http://mhorn-clr01.jf.intel.com/mixer/ --path=/tmp/install-821644309 --statedir=/tmp/install-821644309/var/lib/swupd -V latest --force --no-boot-update --json-output -B os-core-update,openssh-server,NetworkManager,clr-installer,telemetrics,vim,kernel-native". Error: exit status 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment