The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Signing key
Author: Jeffery 
Date:   12-02-05 04:50

Hi,

I am on a FreeBSD 5.3 box and I followed the exact instructions of your article and I am stuck on step 6.

when I do

perl CA.pl -sig

I get the following output:

dingo# perl CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
47013:error:0E06D06C:configuration file routines:NCONF_get_string:no value:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for ./demoCA/private/cakey.pem:
./demoCA/serial: No such file or directory
error while loading serial number
47013:error:02001002:system library:fopen:No such file or directory:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:276:fopen('./demoCA/serial','r')
47013:error:20074002:BIO routines:FILE_CTRL:system lib:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:278:
Signed certificate is in newcert.pem
dingo# l
total 22
drwxr-xr-x 3 root wheel 512B Feb 12 14:20 .
drwxr-xr-x 8 root wheel 1.0K Feb 12 14:23 ..
-rwxr-xr-x 1 root wheel 5.2K Feb 12 14:10 CA.pl
drwxr-xr-x 6 root wheel 512B Feb 12 14:12 demoCA
-rw-r--r-- 1 root wheel 0B Feb 12 15:48 newcert.pem
-rw-r--r-- 1 root wheel 1.7K Feb 12 14:18 newreq.pem
-rw-r--r-- 1 root wheel 7.7K Feb 12 14:11 openssl.cnf
dingo#


It asks me for the Pass Phrase and then thats the error output.. anyone have any hints for me ?

cheers,
Jeffery

Reply To This Message
 
 Re: Signing key
Author: paCkeTroUTer 
Date:   12-02-05 04:56

ok its me again.... I am referring to article published here: http://www.freebsddiary.org/openssl-client-authentication.php

thanks
Jeffery

Reply To This Message
 
 Re: Signing key
Author: Dan 
Date:   17-02-05 05:20

Hmmm, I don't know. It might be a permissions issue.

--
Webmaster

Reply To This Message
 
 Re: Signing key
Author: paCkeTroUTer 
Date:   18-02-05 12:37

If there is some permission problem, I don't have a clue as to where I should be looking. Any hints ?

cheers,
Jeffery

Reply To This Message
 
 Re: Signing key
Author: Dan 
Date:   19-02-05 21:51

47013:error:02001002:system library:fopen:No such file or directory:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:276:fopen('./demoCA/serial','r')

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org