PKI Server Webapp CLI - dogtagpki/pki GitHub Wiki
The pki-server webapp
commands provides a mechanism to manage webapps on PKI server.
$ pki-server webapp-find Webapp ID: ROOT Path: / Descriptor: /var/lib/pki/pki-tomcat/conf/Catalina/localhost/ROOT.xml Document Base: /usr/share/pki/server/webapps/ROOT Webapp ID: ca Path: /ca Descriptor: /var/lib/pki/pki-tomcat/conf/Catalina/localhost/ca.xml Document Base: /usr/share/pki/ca/webapps/ca Webapp ID: pki Path: /pki Descriptor: /var/lib/pki/pki-tomcat/conf/Catalina/localhost/pki.xml Document Base: /usr/share/pki/server/webapps/pki
Availability: Since PKI 10.7.
$ pki-server webapp-show ROOT Webapp ID: ROOT Path: / Descriptor: /var/lib/pki/pki-tomcat/conf/Catalina/localhost/ROOT.xml Document Base: /usr/share/pki/server/webapps/ROOT
Availability: Since PKI 11.5.
To deploy ROOT webapp:
$ pki-server webapp-deploy \ --descriptor /usr/share/pki/server/conf/Catalina/localhost/ROOT.xml \ ROOT
To deploy PKI webapp:
$ pki-server webapp-deploy \ --descriptor /usr/share/pki/server/conf/Catalina/localhost/pki.xml \ pki
Availability: Since PKI 10.7.
$ pki-server webapp-undeploy pki
Availability: Since PKI 10.7.