Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssl killing me
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grapesmc
n00b
n00b


Joined: 05 Jun 2005
Posts: 17
Location: Seattle

PostPosted: Wed Jun 08, 2005 8:52 am    Post subject: openssl killing me Reply with quote

ok, so I am trying to follow along with the Virtual Mail hosting document, that seems quick and simple. I, like many others have (i searched) get stuck on step 5 when i need to so some self-signing. I've done this before on Red Hat, etc. without too much problem. Here though, for some reason it seems that CA.pl has no idea where my configuration file is, and I receive the dreaded:

---
unable to find 'distinguished_name' in config
problems making Certificate Request
11366:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:conf_lib.c:325:
Error opening Certificate ./demoCA/cacert.pem
11367:error:02001002:system library:fopen:No such file or directory:bss_file.c:278:fopen('./demoCA/cacert.pem','r')
11367:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
unable to load certificate
---

I edited the files exactly as mentioned. I spent lots of time researching why this wouldn't work and tried all the advice I could find. I tried to add -config /etc/ssl/openssl.cnf to CA.pl. Nothing works and I am going to cry. I have version - openssl-0.9.7e-r1 ..

Can someone please help?


--- UPDATE

-- update... okay, after spending what seemed like a lifetime i found some info here: http://ldp.paradoxical.co.uk/HOWTO/SSL-Certificates-HOWTO/x120.html

basically, you need to edit the CA.pl to be this:

#$SSLEAY_CONFIG=$ENV{"SSLEAY_CONFIG"};
$SSLEAY_CONFIG="-config /etc/ssl/openssl.cnf";


and this:

#$CATOP="./demoCA';
$CATOP="/etc/ssl";


I am not sure who to notify who to update the document
_________________
---
yikes!
Back to top
View user's profile Send private message
morphal
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 183
Location: Houston

PostPosted: Thu Jul 21, 2005 2:39 pm    Post subject: Reply with quote

If you're taling about the wiki article, update it yourself. =) That's the beauty of wikis. Over on the right, you should see a link that allows you to edit it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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