Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb13:kmip_server_pykmip [2026/08/21 14:28] Bernard Condraudeb13:kmip_server_pykmip [2026/08/21 14:52] (current) Bernard Condrau
Line 1: Line 1:
 ====== KMIP Server (PyKMIP) ====== ====== KMIP Server (PyKMIP) ======
   * Install Phyton3, the Phyton package manager and dependencies:<code>sudo apt update   * Install Phyton3, the Phyton package manager and dependencies:<code>sudo apt update
-sudo apt install python3 python3-pip python3-venv libssl-dev libffi-dev python3-dev</code>+sudo apt install python3 python3-pip python3-venv libssl-dev libffi-dev python3-dev libsqlite3-dev</code>
   * Verify the installation:<code>pip3 --version</code>   * Verify the installation:<code>pip3 --version</code>
   * Create a virtual environment and activate it:<code>python3 -m venv pykmip-env   * Create a virtual environment and activate it:<code>python3 -m venv pykmip-env
Line 13: Line 13:
   * Verify the installation:<code>python3 -c "import kmip; print(kmip.__version__)"</code>   * Verify the installation:<code>python3 -c "import kmip; print(kmip.__version__)"</code>
   * Create folder ''/var/log/pykmip'' with ownership ''root:user'' and permissions ''770''   * Create folder ''/var/log/pykmip'' with ownership ''root:user'' and permissions ''770''
 +  * Start the server:<code>sudo pykmip-server -c ./pykmip-env/server.conf</code>
 +  * The configuration file:<code>[server]
 +host = 127.0.0.1
 +port = 5696
 +certificate_path = ./certs/server.crt
 +key_path = ./certs/server.key
 +ca_path = ./certs/ca.crt
 +auth_suite = TLS1.2
 +logging_level = INFO
 +database_path=/var/lib/pykmip/pykmip.db</code>
 +
 +
 +check
 +  * <code>sudo chmod -R o+rx /etc/letsencrypt/archive/
 +sudo chmod -R o+rx /etc/letsencrypt/live/</code>
 +  * <code>policy_path=/etc/pykmip/policies</code>