|
NAMEOpenXPKI::Server::API2::Plugin::Cert::import_chainCOMMANDSimport_chainExpects a set of certificates as PKCS7 container, concated PEM or array of PEM blocks - expected sorting is "entity first". For security reasons the root is not imported by default, set import_root to import root certificates. If the chain can not be build, the import will fail unless you set force_nochain, which will import the chain as far as it can be built. Certificates from the chain that are already in the database are ignored. If the data contain certs from different chains, all chains are built (works only with PEM array/block)Return value is a hash with keys imported, existed and failed:
Parameters
Changes compared to API v1: The old parameter "DATA" was split up into two separate parameters "chain" and "pkcs7".
Visit the GSP FreeBSD Man Page Interface. |