|
NameOpenXPKI::Server::Workflow::Activity::Tools::PublishCA DescriptionThis activity publishes a single ca certificate. The context must hold the ca_alias parameter. The data point you specify at prefix must contain a list of connectors. Each connector is called with the CN of the certificate as location. The data portion contains a hash ref with the keys pem, der and subject holding the appropriate strings and dn which is the subject parsed into a hash as used in the template processing when issuing the certificates. ConfigurationExampleSet the "prefix" paramater to tell the activity where to find the connector publish_crl:
class: OpenXPKI::Server::Workflow::Activity::Tools::PublishCA
label: I18N_OPENXPKI_UI_WORKFLOW_ACTION_CRL_ISSUANCE_PUBLISH_CA_LABEL
description: I18N_OPENXPKI_UI_WORKFLOW_ACTION_CRL_ISSUANCE_PUBLISH_CA_DESC
input:
- ca_alias
param:
prefix: publishing.cacert
Set up the connector using this syntax publishing:
cacert:
repo1@: connector:....
repo2@: connector:....
To publish the certificate to your LDAP with autocreation of missing nodes, here is an example connector: ldap-cacert:
class: Connector::Proxy::Net::LDAP::Single
LOCATION: ldap://localhost:389
base: ou=pki,dc=mycompany,dc=com
filter: (cn=[% ARGS.0 %])
binddn: cn=admin,dc=mycompany,dc=com
password: admin
attrmap:
der: cacertificate;binary
create:
basedn: ou=pki,dc=mycompany,dc=com
rdnkey: cn
schema:
cn:
objectclass: top organizationalRole pkiCA crlDistributionPoint
Activity parameters
Context parameters
|