[U-Boot] verifying & signing

srinivasan srinivasan.rns at gmail.com
Fri Nov 7 18:38:28 CET 2014


Thanks a lot Simon,

Sorry True.. without unknowingly the ticket was duplicated I found out the
issue ie.,

openssl genrsa -F4 -out keys/dev.key 2048
openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt

The above commands was supposed to be executed with sudo permissions as
shown below:

sudo openssl genrsa -F4 -out keys/dev.key 2048
sudo openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt

Once again Many many Thanks for your support so far..

On Fri, Nov 7, 2014 at 10:42 PM, Simon Glass <sjg at chromium.org> wrote:

> Hi,
>
>
> On 4 November 2014 03:07, Srinivasan S <srinivasan.s at tataelxsi.co.in>
> wrote:
> >
> > Hi Simon,
> >
> > When I was generating the keys ie., Step 4: Create a key pair
> >
> > Am facing one more error while generating private key & certificate
> containing public key used for verification when I execute the below
> openssl commands it is saying can't open  config file:
> >
> > srinivasan at tata-HP-Elite-7100-Microtower-PC:~/TUNSTALL/board-support/linux-3.12.10-ti2013.12.01/work$
> openssl genrsa -F4 -out keys/dev.key 2048
> > WARNING: can't open config file:
> /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/i686-arago-linux/usr/lib/ssl/openssl.cnf
> > Generating RSA private key, 2048 bit long modulus
> > ............................+++
> > ...............................................+++
> > e is 65537 (0x10001)
> > srinivasan at tata-HP-Elite-7100-Microtower-PC:~/TUNSTALL/board-support/linux-3.12.10-ti2013.12.01/work$
> openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt
> > WARNING: can't open config file:
> /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/i686-arago-linux/usr/lib/ssl/openssl.cnf
> > Unable to load config info from
> /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/i686-arago-linux/usr/lib/ssl/openssl.cnf
> >
> > Could you pls do the needful in resolving this errors cz of which am not
> able to proceed further
>
> This email seems to be a duplicate. Did you make sure the directory exists?
>
> Regards,
> Simon
>


More information about the U-Boot mailing list