Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stack faults in openssl/stunnel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
k-dub
n00b
n00b


Joined: 18 Feb 2003
Posts: 67
Location: Frederick, CO

PostPosted: Sun Jun 06, 2004 3:05 am    Post subject: stack faults in openssl/stunnel Reply with quote

I'm getting the following error when signing a certificate request using /etc/ssl/misc/CA.pl -sign:
Code:
carrera misc # ./CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
11094:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for ./demoCA/private/cakey.pem:

The process completes successfully. I enter
Code:
openssl x509 -in newcert.pem -out /etc/stunnel/stunnel.pem
and I'm ready to go. I call stunnel and get the following:
Code:
2004.06.05 20:46:04 LOG5[11074:16384]: stunnel 4.04 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7d 17 Mar 2004
2004.06.05 20:46:04 LOG3[11074:16384]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib
2004.06.05 20:46:04 LOG3[11074:16384]: SSL_CTX_use_RSAPrivateKey_file: 906D06C: error:0906D06C:PEM routines:PEM_read_bio:no start line

Almighty Gentoo forum, please answer this riddle: what's wrong and how can I fix it?

(I've already checked my use flags and recompiled both openssl and stunnel).
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Tue Aug 17, 2004 7:24 pm    Post subject: Reply with quote

and? found something to lose that error?
Back to top
View user's profile Send private message
k-dub
n00b
n00b


Joined: 18 Feb 2003
Posts: 67
Location: Frederick, CO

PostPosted: Wed Aug 18, 2004 2:23 am    Post subject: Reply with quote

You mean, is it fixed? No. I double-checked my use flags, used revdep-rebuild, and checked the respective product web sites for help. It seems no one have ever seen that error before. I just now checked those commands again, thinking some new ebuild since then has fixed things, but the error still exists.
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Wed Aug 18, 2004 7:30 am    Post subject: Reply with quote

I think I found out something: is there a /etc/ssl/demoCA/index.txt.attr file on your system?

if so, what does it say?
Back to top
View user's profile Send private message
k-dub
n00b
n00b


Joined: 18 Feb 2003
Posts: 67
Location: Frederick, CO

PostPosted: Thu Aug 19, 2004 1:46 am    Post subject: Reply with quote

I have /etc/ssl/misc/demoCA/index.txt.attr, and all it says is:
Code:
unique_subject = yes

What does that mean to you?
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Thu Aug 19, 2004 8:40 am    Post subject: Reply with quote

to ME it means nothing

try to delete that file (or, to be safer, rename it first)
with me, the error was gone then
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum