Miscellaneous features
cFos PNet can call a maintenance script once per day. You can configure the script name with the key daily_maintenance= <script url> and the time, when it is run with maintenance_time=hh:mm:ss in the section [param] of the GLOBAL.INI file. <script url> is the location of the script beginning with / for the public directory.
cFos PNet uses the Windows HTTP Server API. This allows several application to listen to the default HTTP port 80. The HTTP
Server API shares this port among all applications using the HTTP Server API.
To decide which application gets the HTTP request, the HTTP Server API needs to know a URL match rule for each application.
This rule is configured by the
host_name=
cFos PNet / the HTTP Server API also supports SSL. To use SSL you need register an SSL certificate. This certificate should
be registered with one of the SSL certificate agencies. Otherwise the users web brower will not be able to verify that the
server identity is not forged.
Here are the steps of how to create and register your (unsigned) certificate with
the standard Windows methods:
1. run makecert -r -sr LocalMachine -ss MY -a sha1 -n "CN=spaceship.dyndns.org" -sky exchange
-pe -eku 1.3.6.1.5.5.7.3.1
2. to get the certificates thumbprint:
> mmc
> add "certificates" snap-in, view personal
certificates... (use httpcfg instead of netsh under systems before vista)
3. netsh http add sslcert ipport=0.0.0.0:443
certhash=46aab740254a12c9146142067f5cf69e583154ad appid={a227f2f9-d103-4e0f-92a4-7086c8ab35ac}
To delete the certificate from the SSL port, run
> netsh http delete sslcert ipport=0.0.0.0:443
> netsh http show
sslcert
cFos Personal Net documentation
- Overview
- Basic setup
- Additional configuration
- Scripting reference
- Security tips
- The standard scripts
- Miscellaneous features
- Feature reference