OpenXPKI::Client::SCEP - OpenXPKI Simple Certificate Enrollment Protocol Client
use OpenXPKI::Client::SCEP;
my $query = CGI->new();
my $operation = $query->param('operation');
my $message = $query->param('message');
my $scep_client = OpenXPKI::Client::SCEP->new({
service => 'SCEP',
pki_realm => $realm,
socketfile => $socket,
timeout => 120,
server => $server,
encryption_algorithm => $enc_alg,
hash_algorithm => $hash_alg,
});
my $result = $scep_client->send_request( $operation, $message );
OpenXPKI::Client::SCEP acts as a client that sends an SCEP request to the
OpenXPKI server. It is typically called from within a CGI script that acts as
the SCEP server.
- pki_realm
- PKI Realm to access (must match server configuration).
Sends SCEP request to OpenXPKI server, expects operation and message as
positional arguments. A third parameter with optional parameters can be passed
which is handed over to the backend workflow as "URLPARAMS".