public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* HTTPs connection during bootstrap
@ 2026-04-28  6:58 Ulrich Teichert
  2026-04-28  7:40 ` 'Jan Kiszka' via isar-users
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Teichert @ 2026-04-28  6:58 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 7563 bytes --]

Hi,

after some teething problems, I've been able to build a bootable qemu ARM64 
image
with some of our packages for a proof of concept - thanks again to Anton.

Still open is getting a successful connection to an external apt-repository 
over HTTPs,
during bootstrapping which is secured by self signed certificates. 
Currently, I have to use
a reverse proxy (caddy - nice and simple setup) to circumvent the issue, 
and I would like to
get rid of it.

The error I'm getting at the moment when not using the reverse proxy is:

ERROR: mc:qemuarm64-trixie:isar-mmdebstrap-target-1.0-r0 do_bootstrap: 
ExecutionError('/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/temp/run.do_bootstrap.18929', 
25, None, None)
ERROR: Logfile of failure stored in: 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/temp/log.do_bootstrap.18929
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_bootstrap
| removed 
'/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/sources.list.d/bootstrap.list'
| 
'/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/apt-sources' 
-> 
'/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/sources.list.d/bootstrap.list'
| I: arm64 cannot be executed natively, but transparently using qemu-user 
binfmt emulation
| I: finding correct signed-by value...
| I: automatically chosen format: tar
| I: using 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch 
as tempdir
| W: Download is performed unsandboxed as root as file 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch/var/lib/apt/lists/partial 
couldn't be accessed by user _apt
| I: running --setup-hook in shell: sh -c 'mkdir -p 
"$1/var/cache/apt/archives/"' exec 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch
| I: running --setup-hook in shell: sh -c 'flock -s 
/home/isar/isar-image/build/downloads/deb/debian-trixie.lock cp -n 
--no-preserve=owner \
|                       
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/dl_dir/var/cache/apt/archives/"*.deb 
\
|                       "$1/var/cache/apt/archives/" || true' exec 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch
| I: running special hook: upload 
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/apt-preferences" 
/etc/apt/preferences.d/bootstrap
| I: running special hook: upload 
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/apt-sources-init" 
/etc/apt/sources-list
| I: running special hook: upload 
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/locale" 
/etc/locale
| I: running --setup-hook in shell: sh -c 'mkdir -p 
"$1/etc/apt/trusted.gpg.d"' exec 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch
| I: running special hook: sync-in 
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/trusted.gpg.d" 
/etc/apt/trusted.gpg.d
| I: running --setup-hook in shell: sh -c 'install -v -m755 
"/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/chroot-setup.sh" 
"$1/chroot-setup.sh"' exec 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch
| 
'/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/chroot-setup.sh' 
-> 
'/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch/chroot-setup.sh'
| I: running apt-get update...
| Ign:1 https://XXXXXXXX.kumkeo.local/trixie/latest trixie InRelease
| Get:2 http://deb.debian.org/debian trixie InRelease [140 kB]
| Get:3 http://deb.debian.org/debian-security trixie-security InRelease 
[43.4 kB]
| Get:4 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
| Get:5 http://deb.debian.org/debian trixie/non-free Sources [75.9 kB]
| Get:6 http://deb.debian.org/debian trixie/contrib Sources [52.3 kB]
| Get:7 http://deb.debian.org/debian trixie/main Sources [10.5 MB]
| Get:8 http://deb.debian.org/debian trixie/non-free-firmware Sources [6552 
B]
| Get:9 http://deb.debian.org/debian trixie/non-free-firmware arm64 
Packages [6484 B]
| Get:10 http://deb.debian.org/debian trixie/contrib arm64 Packages [48.4 
kB]
| Get:11 http://deb.debian.org/debian trixie/non-free arm64 Packages [74.4 
kB]
| Get:12 http://deb.debian.org/debian trixie/main arm64 Packages [9607 kB]
| Ign:1 https://XXXXXXXX.kumkeo.local/trixie/latest trixie InRelease
| Get:13 http://deb.debian.org/debian-security 
trixie-security/non-free-firmware Sources [696 B]
| Get:14 http://deb.debian.org/debian-security trixie-security/main Sources 
[132 kB]
| Get:15 http://deb.debian.org/debian-security trixie-security/main arm64 
Packages [127 kB]
| Get:16 http://deb.debian.org/debian trixie-updates/main Sources [2788 B]
| Get:17 http://deb.debian.org/debian trixie-updates/main arm64 Packages 
[5404 B]
| Ign:1 https://XXXXXXXXX.kumkeo.local/trixie/latest trixie InRelease
| Err:1 https://XXXXXXXXX.kumkeo.local/trixie/latest trixie InRelease
|   SSL connection failed: error:0A000086:SSL routines::certificate verify 
failed / Success [IP: A.B.C.D 443]
| Fetched 20.9 MB in 7s (2899 kB/s)
| Reading package lists...
| E: Failed to fetch 
https://XXXXX.kumkeo.local/trixie/latest/dists/trixie/InRelease  SSL 
connection failed: error:0A000086:SSL routines::certificate verify failed / 
Success [IP: A.B.C.D 443]
| E: Some index files failed to download. They have been ignored, or old 
ones used instead.
| E: apt-get update --error-on=any -oAPT::Status-Fd=<$fd> 
-oDpkg::Use-Pty=false failed: process exited with 100 and error in console 
output
| W: hooklistener errored out: E: received eof on socket
| 
| I: main() received signal PIPE: waiting for setup...
| I: removing tempdir 
/home/isar/isar-image/build/tmp/work/debian-trixie-arm64/isar-mmdebstrap-target/1.0-r0/tempdir/mmdebstrap.3tADUZToch...
| E: mmdebstrap failed to run
ERROR: Task 
(mc:qemuarm64-trixie:/home/isar/isar-image/isar/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap-target.bb:do_bootstrap) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 136 tasks of which 135 didn't need to be 
rerun and 1 failed.
 
Summary: 1 task failed:
  
mc:qemuarm64-trixie:/home/isar/isar-image/isar/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap-target.bb:do_bootstrap
Summary: There was 1 ERROR message, returning a non-zero exit code.

(internal hostname replaced by XXXXX, IP by A.B.C.D)

What would be the best way to inject the missing certificates into the 
bootstrapping
process?

Thanks in advance for every suggestion,
Uli

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/3a6bc2de-5694-4a72-90fd-6fcb5a62587en%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 8372 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-28  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-28  6:58 HTTPs connection during bootstrap Ulrich Teichert
2026-04-28  7:40 ` 'Jan Kiszka' via isar-users
2026-04-28  8:44   ` AW: " Ulrich Teichert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox