Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtual Mailhosting guide issue
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
dook43
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2002
Posts: 116
Location: Baton Rouge, LA

PostPosted: Thu Apr 17, 2003 2:17 am    Post subject: Virtual Mailhosting guide issue Reply with quote

root@xxx misc # ls -la
total 42
drwxr-xr-x 3 root root 272 Apr 16 20:57 .
drwxr-xr-x 6 root root 176 Mar 29 15:33 ..
-rwxr-xr-x 1 root root 4976 Apr 16 17:13 CA.pl
-rwxr-xr-x 1 root root 3505 Mar 29 15:33 CA.sh
-rwxr-xr-x 1 root root 119 Mar 29 15:33 c_hash
-rwxr-xr-x 1 root root 152 Mar 29 15:33 c_info
-rwxr-xr-x 1 root root 113 Mar 29 15:33 c_issuer
-rwxr-xr-x 1 root root 110 Mar 29 15:33 c_name
drwxr-xr-x 6 root root 232 Apr 16 17:13 demoCA
-rwxr-xr-x 1 root root 6733 Mar 29 15:33 der_chop
-rw-r--r-- 1 root root 1477 Apr 16 20:57 newreq.pem
root@dreamcatcher misc # ./CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
unable to load CA private key
19164:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:666:Expecting: ANY PRIVATE KEY
Signed certificate is in newcert.pem


As you can see, the CA.pl script is unable to load the private key even though it is right there. I have followed the guide to the letter. What have I done wrong?
_________________
"We who are about to die salute you!"
Back to top
View user's profile Send private message
dook43
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2002
Posts: 116
Location: Baton Rouge, LA

PostPosted: Thu Apr 17, 2003 8:28 pm    Post subject: Reply with quote

18 views and no replies? Can anyone help me with this?
_________________
"We who are about to die salute you!"
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 511

PostPosted: Wed Apr 30, 2003 5:36 am    Post subject: Reply with quote

Don't know if you have fixed this, but I got it too, because I did the editing in CA.pl wrong first time. Solution was to
Code:
# rm -r /etc/ssl/misc/demoCA
and start all over with the certs.

Hope it helps
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
duffolonious
n00b
n00b


Joined: 04 Apr 2003
Posts: 34

PostPosted: Fri May 02, 2003 7:33 pm    Post subject: stupid ssl certs... Reply with quote

Yeah I'm having the exact same problem. I'm going to try again, but I don't think removing the demoCA dir helped.

Did you solve your problem:?:

-Duff
_________________
~Duff
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 511

PostPosted: Sat May 03, 2003 10:33 am    Post subject: Reply with quote

Yes, by removing the dir, because if it's there it act differently aka not as it's question of a new cert. But of course you have to have the setting right as well :-)
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
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