Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SSL CSR Error



I'm sending this e-mail so it's a permanent part of Mac OS X Server discussion list archive, with the solution in a single e-mail.

I was having problems generating a CSR on a Panther server 'cause I was following Jaguar server instructions. If you make this mistake, you'll see the following errors.
[DelMar:~] jsmith# openssl md5 * > rand.dat
Read Error in Desktop
3931:error:0200B001:system library:fread:Operation not permitted:bss_file.c:167:
3931:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:168:
Read Error in Library
3931:error:0200B001:system library:fread:Operation not permitted:bss_file.c:167:
3931:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:168:



---------------------------------
But, if you follow the manual (yes, this is one case where RTFM isn't enough) you'll still have problems:

On page 45 (Chapter 5 on SSL) of the Panther Server admin guide (latest version, to date, from Apple's Web site). Step 2 reads:
<x-tad-bigger>dd if=/dev/randon of=rand.dat bs=1m count=1</x-tad-bigger> <-- wrong

As Dan pointed out in March 2004, that's a typo, it should be <x-tad-bigger>rando</x-tad-bigger><x-tad-bigger>m</x-tad-bigger>
<x-tad-bigger>dd if=/dev/random of=rand.dat bs=1m count=1</x-tad-bigger> <-- right

You should see something like:
[DelMar:~] jsmith# sudo dd if=/dev/random of=rand.dat bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.488336 secs (2147244 bytes/sec)

Thanks,
Joe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.