Jeremy C. Reed 8f985a64b4 catch up to trunk, 2 conflicts. il y a 14 ans
..
tests 0963188cf1 Rename my pycoverage variable, since need it without the arguments too. il y a 14 ans
Makefile.am ebdaa744a8 a minor cosmetic fix: removed a redundant white space in a blank line. il y a 14 ans
README 93eb75d061 Change cmd-ctrld to b10-cmdctl. il y a 15 ans
TODO ce44a279ea suggested changes: il y a 15 ans
b10-cmdctl.8 d7802279b9 Update some docs to have correct bind10-devel path. il y a 15 ans
b10-cmdctl.xml d7802279b9 Update some docs to have correct bind10-devel path. il y a 15 ans
cmdctl-accounts.csv 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': il y a 15 ans
cmdctl-certfile.pem 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': il y a 15 ans
cmdctl-keyfile.pem 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': il y a 15 ans
cmdctl.py.in fd0aa33626 Merge trunk back to this branch il y a 14 ans
cmdctl.spec.pre.in 6fe33b957f update literal_eval calls to also use json.loads il y a 15 ans
run_b10-cmdctl.sh.in 05b245d8e2 Be consistent with these run_*sh scripts by using exec for all of them. il y a 14 ans

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