openssl crashed when generating certificate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openct (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libengine-
Here is the gdb output when trying to generate a certificate:
-------
OpenSSL> engine dynamic -pre SO_PATH:
(dynamic) Dynamic engine loading support
[Success]: SO_PATH:
[Success]: ID:pkcs11
[Success]: LIST_ADD:1
(no debugging symbols found)
[Success]: LOAD
[Success]: MODULE_
Loaded: (pkcs11) pkcs11 engine
OpenSSL> req -engine pkcs11 -new -key id_45 -keyform engine -out req.pem -text -x509
[Thread debugging using libthread_db enabled]
[New Thread -1211541824 (LWP 7130)]
Error while reading shared library symbols:
Cannot find new threads: generic error
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
engine "pkcs11" set.
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Error: can't open /var/run/
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211541824 (LWP 7130)]
0xb7f79d0b in PKCS11_login (slot=0x80c4f50, so=0, pin=0x0) at p11_slot.c:140
140 p11_slot.c: No such file or directory.
in p11_slot.c
(gdb) bt
#0 0xb7f79d0b in PKCS11_login (slot=0x80c4f50, so=0, pin=0x0)
at p11_slot.c:140
#1 0xb7f7ecd1 in pkcs11_load_key () from /usr/lib/
#2 0xb7f7f44f in pkcs11_
from /usr/lib/
#3 0xb7e85d57 in ENGINE_
from /usr/lib/
#4 0x080877ab in ?? ()
#5 0x080b9838 in ?? ()
#6 0xbf9f6da9 in ?? ()
#7 0x080b54c8 in ?? ()
#8 0xbf9f6690 in ?? ()
#9 0x080b9838 in ?? ()
#10 0x080a24e9 in ?? ()
#11 0xb7f7fe50 in _fini () from /usr/lib/
#12 0x08058563 in ?? ()
#13 0x080ac008 in ?? ()
#14 0xbf9f6da9 in ?? ()
#15 0x00000007 in ?? ()
#16 0x00000000 in ?? ()
(gdb)
-------
I am running a fully-updated Feisty. The steps to reproduce this bug are outlined in the tutorial at http://
Related branches
Changed in openct: | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
If you manually create the /var/run/openct/ before you start your tutorial, does that solve the problem?
I expect it will. On Ubuntu /var/run is a tempfs. The package creates /var/run/openct when installed, but likely assumes it will always be around. This is a common error.