PKI CLI Connection - dogtagpki/pki GitHub Wiki

PKI CLI Connection

By default PKI CLI will connect to the PKI server with the following parameters:

  • Protocol: https

  • Hostname: localhost

  • Port: 8443

The parameters can be individually changed with the following options:

$ pki -P <protocol> -h <hostname> -p <port> <command>

Alternatively, the connection parameters can be specified as a URL:

$ pki -U <protocol>://<hostname>:<port> <command>

For example, to access a local PKI server, no need to specify the connection parameters:

$ pki info

To access a remote PKI server:

$ pki -U https://pki.demo.dogtagpki.org info

See Also

⚠️ **GitHub.com Fallback** ⚠️