Hi there,

For a project I'm working on I use the openssl libraries on an embedded
platform.
The platform uses an alix cpu and to get a small image file I compiled a
linux kernel with the uclibc instead of the glibc.

When I try to generate export a key with pkcs12 I get the following
error message:

root@ccn-node1:~ # cat<<EOF>openssl.cnf
  # This is not really relevant because we're not sending cert requests
anywhere
,
  # but openssl req can refuse to go on if it has no config file.
  [ req ]
  distinguished_name= req_distinguished_name
  [ req_distinguished_name ]
  countryName= Country Name (2 letter code)
  countryName_default= AU
  countryName_min= 2
  countryName_max= 2
  EOF

root@ccn-node1:~ # openssl req -config openssl.cnf -newkey rsa:1024
-x509 -keyou
t private_key.pem -out certout.pem -subj /CN="CCND-internal" -nodes
Generating a 1024 bit RSA private key
.......++++++
...............................++++++
writing new private key to 'private_key.pem'
-----

root@ccn-node1:~ # openssl pkcs12 -export -name "CCND" -out
/var/tmp/.keystore -
in certout.pem -inkey private_key.pem -password
pass:'th1s1sn0t8g00dp8ssw0rd.'
3077621396:error:060740A0:lib(6):func(116):reason(160):NA:0:
3077621396:error:23077073:lib(35):func(119):reason(115):NA:0:
3077621396:error:2306C067:lib(35):func(108):reason(103):NA:0:
3077621396:error:23073067:lib(35):func(115):reason(103):NA:0:

Do I have to change the compile settings or where's the problem?

Regards,

Tobias Schmid


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to