openwrt Signing key has not been configured解决办法

在编译openwrt 源码的时候  make V=99 提示

Generating index for package ./uci_2014-04-11.1-1_ramips_24kec.ipk
Generating index for package ./wpad-mini_2014-10-25-1_ramips_24kec.ipk
Signing key has not been configured

 

是因为增加包签名,可以查看下面链接中,对增加这一功能的描述

https://dev.openwrt.org/changeset/38284

上面有这样说Add package signing key and certificate configuration options to the
"Image configuration" submenu.  

当执行make menuconfig 选择image configuration ——————必须选择,按Y键,回车,就能

看见关于密匙的配置了

 

openwrt Signing key has not been configured解决办法

回车后 选择package signing options 

openwrt Signing key has not been configured解决办法

 

openwrt Signing key has not been configured解决办法

 

签名和证书的制作

怎样创建一个PEM文件:

  • 下载 certs.tgz :  wget ftp://ftp.novell.com/outgoing/certs.tgz
  • 解压缩下载的文件: tar xzf certs.tgz
  • 运行 certs.sh: ./certs.sh
  • 选择创建 PEM (1)
  • 提供证书的存放路径
  • 提供以下文件名:
    • 私钥
    • 公钥 (server crt)
    • (可选) 私钥密码
    • (可选) 证书的一些信息