Mukund Sivaraman c79031b28b [master] Fix exception types caught 11 years ago
..
tests c79031b28b [master] Fix exception types caught 11 years ago
.gitignore aad4df7a66 [master] Sort .gitignore 12 years ago
Makefile.am 2b589c6418 [2962] Touch the dependency instead of using noop 11 years ago
README 93eb75d061 Change cmd-ctrld to b10-cmdctl. 15 years ago
TODO ce44a279ea suggested changes: 15 years ago
b10-certgen.cc 6ae0d625f0 [master] many misspelling and typo fixes 12 years ago
b10-certgen.xml be08a60798 [master] many minor doc improvements 12 years ago
b10-cmdctl.xml be08a60798 [master] many minor doc improvements 12 years ago
cmdctl-accounts.csv 53b5c9b950 1. Rename cmdctl account file name from 'passwd.csv' to 'cmdctl-accounts.csv': 15 years ago
cmdctl.py.in c79031b28b [master] Fix exception types caught 11 years ago
cmdctl.spec.pre.in d7aff6bf2f [1596] Missed a CmdCtl's spec file 13 years ago
cmdctl_messages.mes 266bfcd67a [2617] added "exiting" log message to those that don't have it until now. 12 years ago
run_b10-cmdctl.sh.in f8dc48154e [2198] Fix library paths to add lib/util/threads/ too (Mac OS test failure) 12 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