
admin.appserverGetSslClientCertificateAuthorities( config as element(configuration), appserver-id as (Number|String) ) as Sequence
This function returns the id(s) of the client certificate authority for the specified App Server. If no client certificate authority is set, this function returns an empty sequence.
http://marklogic.com/xdmp/privileges/admin/app-server
http://marklogic.com/xdmp/privileges/admin/app-server/{id}
const admin = require('/MarkLogic/admin.xqy');
const config = admin.getConfiguration()
const appServer = admin.appserverGetId(config,
admin.groupGetId(config, "Default"),
"Docs")
admin.appserverGetSslClientCertificateAuthorities(config, appServer)
//Returns the id(s) of the client certificate authority for the "Docs" App Server, if set.
//Otherwise returns an empty sequence.