Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[Solved] Unable to build 6.12.47 due to SSL (Certificate?)

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Moarty
n00b
n00b
Posts: 9
Joined: Tue Jul 15, 2025 11:22 am

[Solved] Unable to build 6.12.47 due to SSL (Certificate?)

  • Quote

Post by Moarty » Sun Sep 28, 2025 10:29 pm

Hi everyone,

Currently rocking the binary kernel temporarily until I can build my own, I am having a problem where the build is failing because of some certificate errors. Let me know if I should post the entire build log but the interesting bit is here. The thing is, I'm not running secure boot or anything like that, I am not trying to sign the kernel either, Im following the guide (https://wiki.gentoo.org/wiki/Handbook:A ... on_kernels) for a distribution kernel. So I've not done the steps for signing using openssl and kernel keys, I'm trying to avoid doing that.

Code: Select all

Could not find certificate from /usr/src/linux-6.12.47-gentoo-dist/certs/signing_key.x509
 [31;01m*[0m ERROR: sys-kernel/gentoo-kernel-6.12.47::gentoo failed (postinst phase):
 [31;01m*[0m   Failed to convert kernel certificate to PEM format
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  136:  Called pkg_postinst
 [31;01m*[0m   environment, line 2633:  Called kernel-build_pkg_postinst
 [31;01m*[0m   environment, line 1704:  Called kernel-install_pkg_postinst
 [31;01m*[0m   environment, line 2197:  Called kernel-install_install_all '6.12.47-gentoo-dist'
 [31;01m*[0m   environment, line 2165:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m           openssl x509 -inform DER -in "${kernel_cert}" -outform PEM -out "${T}/cert.pem" || die "Failed to convert kernel certificate to PEM format";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.12.47::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.12.47::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/empty'
 [31;01m*[0m S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/work/linux-6.12'
[31;01m * [39;49;00mFAILED postinst: 1
Please let me know what other info you may need and I will post it also, thank you.
Last edited by Moarty on Mon Oct 06, 2025 1:21 am, edited 1 time in total.
Top
druggo
Guru
Guru
Posts: 342
Joined: Wed Sep 24, 2003 9:21 am
Location: Hangzhou
Contact:
Contact druggo
Website

  • Quote

Post by druggo » Wed Oct 01, 2025 4:36 am

looks like a bug: https://bugs.gentoo.org/963425 , try resync the portage tree.
AMD FX-8300 / Loongson-2f (lemote-yeeloong)
Top
Moarty
n00b
n00b
Posts: 9
Joined: Tue Jul 15, 2025 11:22 am

  • Quote

Post by Moarty » Mon Oct 06, 2025 1:20 am

Indeed that was my issue, thank you!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic