编译内核 make modules_install报错SSL error:02001002:system library:fopen:No such file or directory

        在编译内核实验中,在完成make、make_modules操作后在make modules_install的过程中报错SSL error:02001002:system library:fopen:No such file or directory:

编译内核 make modules_install报错SSL error:02001002:system library:fopen:No such file or directory_第1张图片

        推测是由于在解决make环节的报错make[1]: *** 没有规则可制作目标“debian/canonical-certs.pem”,由“certs/x509_certificate_list” 需求。 停止时将CONFIG_MODULE_SIG_KEY与CONFIG_SYSTEM_TRUSTED_KEYS均置空的操作导致。 CONFIG_MODULE_SIG_KEY的置空可能会引起make modules_install的报错。

        将CONFIG_MODULE_SIG_KEY="cert/signing_key.pem"恢复后解决。(也可重置.config配置解决,注意CONFIG_SYSTEM_TRUSTED_KEYS仍需置空)

参考博客:

https://huaweicloud.csdn.net/63561116d3efff3090b5991a.html?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~activity-1-120809966-blog-123590901.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~activity-1-120809966-blog-123590901.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=1

你可能感兴趣的:(ssl)