Search

Chapter 21. HttpClient (Sends a Request over HTTP)

download PDF
The HTTP Client utility, HttpClient, sends a CMC request (created with the CMC Request utility) or a PKCS #10 request to a CA.

21.1. Syntax

This utility takes a single .cfg configuration file as a parameter. The syntax is as follows:

HttpClient /path/to/file.cfg

The .cfg file has the following parameters:
Parameters Description
host The hostname for the Certificate System server. Depending on how DNS and the network are configured, this can be a machine name, fully-qualified domain name, or IPv4 or IPv6 address. For example, host=server.example.com.
port Any port number for Certificate System server. For example, port=9443.
secure true for an HTTPS connection, false for an HTTP connection. For example, secure=true.
input The full path and filename for the enrollment request, which must be in binary format. For example, input=cmcReqCRMFBin.
output The full path and filename for the response in binary format. For example, output=cmcResp.
dbdir The full path to the directory where the cert8.db, key3.db, and secmod.db databases are located. This parameter is ignored if secure=false. For example, dbdir=/usr/bin.
clientmode true for client authentication, false for no client authentication. This parameter is ignored if secure=false. For example, clientmode=true.
password The password for the cert8.db database. This parameter is ignored if secure=false and clientauth=false. For example, password=secret.
nickname The nickname of the client certificate. This parameter is ignored if clientmode=false. For example, nickname=CS Agent-102504a's 102504a ID.
servlet The URI of the servlet that processes full CMC requests. The default value is /ca/profileSubmitCMCFull. For example, servlet=/ca/profileSubmitCMCFull.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.