Hello, 
 
I am using openssl_tpm_engine-0.4.2 to generate a key using TPM and then to use 
openssl 0.9.8zc to generate a certificate out of the key in Ubuntu 12.04. 
 
I can created a key using the command:
 
$> create_tpm_key KeyForCert.pem
SRK Password:
Success.
 
I set following variables : 
ENGINESDIR = /usr/local/lib/openssl/engines
OPENSSL_ENGINES = /usr/local/lib/openssl/engines
 
But with following command I can’t create a certificate, I get always 
“Segmentation Fault”. Without the engine I can create certification requests. 
Can you help me? 
 
$ openssl req -keyform engine -engine tpm -key KeyForCert.pem -new -x509 -days 
365 -out CertFromTPM.pem
engine "tpm" set.
SRK authorization:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:
Segmentation fault
 
Sincerelly,
Franzi
 
 
 
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to