Overview#
This is a work in progress.
This page describes how to use PKI server deployment API.
Creating PKI Server#
import pki
deployer = pki.server.deployment.PKIDeployer()
deployer.instance_name = 'pki-tomcat'
deployer.config_file = 'pki-tomcat.cfg'
deployer.create_instance()
Creating PKI Subsystem#
import pki
deployer = pki.server.deployment.PKIDeployer()
deployer.instance_name = 'pki-tomcat'
deployer.config_file = 'pki-tomcat.cfg'
deployer.deploy('CA')
Removing PKI Subsystem#
import pki
deployer = pki.server.deployment.PKIDeployer()
deployer.instance_name = 'pki-tomcat'
deployer.undeploy('CA')
Removing PKI Server Instance#
import pki
deployer = pki.server.deployment.PKIDeployer()
deployer.instance_name = 'pki-tomcat'
deployer.remove_instance()