Skip to content

Latest commit

 

History

History

WebApp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

WebApp data

Web portal where anyone can upload LDAP (*.ldif) files from ICAO PKD (Master list, DSC & CRL) to server. The uploaded certificates are then used by API service.

Prerequisites

  • Python 3.7 or higher,
  • Installed requirements from here,
  • Configured PostgreSQL user and database (see here).

Parameters

  • --url: server URL address
default: 127.0.0.1
type: str
options:
        -localhost (127.0.0.1)
        -*         (0.0.0.0)
        -<IP>      (<IP>)
  • --port : server port number
default: 8000
type: int
options: 
        -<PORT>      (<PORT>)
  • --db-user : database username
default: empty string
type: str
  • --db-pwd : database password
default: empty string
type: str
  • --db-name : database name
default: empty string
type: str

Run in the foreground (in 'src/WebApp'):

 python3 server.py --db-user <USER> --db-pwd <PWD> --db-name <NAME> --url localhost

Run in the background (in 'src/WebApp'):

nohup python3 server.py --db-user <USER> --db-pwd <PWD> --db-name <NAME> --url localhost &  

Other documentation

License

This project is licensed under the MIT License - see the LICENSE.md file for details