Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make built-in DAV client work with HTTPS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make built-in DAV client work with HTTPS
Authored by: oliverbock on Aug 28, '04 04:57:48AM
To get stunnel to start automatically when your Mac starts:
$ sudo mkdir /Library/StartupItems/stunnel
$ sudo cp stunnel-download-dir/tools/stunnel.init /Library/StartupItems/stunnel/stunnel
$ sudo chmod 755 /Library/StartupItems/stunnel/stunnel
Edit the /Library/StartupItems/stunnel/stunnel and change
$DAEMON || echo -n " failed"
to
$DAEMON /path/to/stunnel.conf || echo -n " failed"
As root, save this text into /Library/StartupItems/stunnel/StartupParameters.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Description</key>
        <string>stunnel</string>
        <key>OrderPreference</key>
        <string>None</string>
        <key>Provides</key>
        <array>
                <string>stunnel</string>
        </array>
        <key>Requires</key>
        <array>
                <string>Network</string>
                <string>Resolver</string>
        </array>
        </dict>
</plist>
I got my information on StartupItems from http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Tasks/CreatingStartupItems.html

[ Reply to This | # ]