HttpClient#
Prepare an NSS database (e.g. ~/.dogtag/pki-tomcat/ca/alias).
Import CA certificate into the NSS database.
Generate a CSR (e.g. /tmp/httpclient.in).
Prepare a configuration file (e.g. httpclient.cfg):
host=localhost
port=8080
secure=false
input=/tmp/httpclient.in
output=/tmp/httpclient.out
tokenname=internal
dbdir=/root/.dogtag/pki-tomcat/ca/alias
clientmode=false
password=Secret.123
nickname=caadmin
servlet=/ca/ee/ca/profileSubmit
Execute the command as follows:
$ HttpClient httpclient.cfg