Likun Zhang c08819a735 1. Raise CmdctlException instead of exiting when port is used by other processes. 2. Make error message be more accurate. 15 years ago
..
tests c08819a735 1. Raise CmdctlException instead of exiting when port is used by other processes. 2. Make error message be more accurate. 15 years ago
Makefile.am bae3083818 Remove EXTRA_DIST += cmdctl.spec -- that file shouldn't exist yet 15 years ago
README 93eb75d061 Change cmd-ctrld to b10-cmdctl. 15 years ago
TODO c08819a735 1. Raise CmdctlException instead of exiting when port is used by other processes. 2. Make error message be more accurate. 15 years ago
b10-cmdctl.8 d7802279b9 Update some docs to have correct bind10-devel path. 15 years ago
b10-cmdctl.xml d7802279b9 Update some docs to have correct bind10-devel path. 15 years ago
cmdctl-accounts.csv 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': 15 years ago
cmdctl-certfile.pem 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': 15 years ago
cmdctl-keyfile.pem 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': 15 years ago
cmdctl.py.in c08819a735 1. Raise CmdctlException instead of exiting when port is used by other processes. 2. Make error message be more accurate. 15 years ago
cmdctl.spec.pre.in 8523458e6d 15 years ago
run_b10-cmdctl.sh.in f22c273643 added missing copyright statements to every relevant .in, .py, .cc and .h file that didn't have one yet 15 years ago

README

When b10-cmdctrl runs, user should provide one certificate and create one account for bindctl.


1. Get a certificate

b10-cmdctrl is a https server, so a certificate should be acquired for the SSL-encrypted connection services it provides.
There are many ways of acquiring appropriate cetificates, such as buying one from a certification authority. Another common practice is to generate a self-signed certificate. The simplest way to do this is with the OpenSSL package, using something like the following:

openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem

copy the content from the generated cert.pem. to create_your_cert.pem.

2. Generate one account for bindctl or other web client tools.

run command:
python \parkinglot\tools\usr_mgr\usr_mgr.py

The account information is saved in passwd.csv