Jelte Jansen d21bec5c81 reply var could be uninitialized, so set to None before doing len check 15 years ago
..
Makefile.am 5dfaa5936b intree/installed specfile treatment for parkinglot 15 years ago
README 93eb75d061 Change cmd-ctrld to b10-cmdctl. 15 years ago
TODO 93eb75d061 Change cmd-ctrld to b10-cmdctl. 15 years ago
b10-cmdctl.pem ed538af714 Move files from /src/lib/bindctl to /src/bin/bindctl. 15 years ago
b10-cmdctl.py.in d21bec5c81 reply var could be uninitialized, so set to None before doing len check 15 years ago
passwd.csv 3342ceb634 Refine the code for b10-cmdctl, make the code robust. 15 years ago
run_b10-cmdctl.sh.in 46ed5e9248 Also add python #! line to b10-cfgmgr.py.in 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