Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created January 28, 2016 12:34
Show Gist options
  • Select an option

  • Save ableasdale/b4628a8174b179e926eb to your computer and use it in GitHub Desktop.

Select an option

Save ableasdale/b4628a8174b179e926eb to your computer and use it in GitHub Desktop.
Get SSL Client Certificate Authorities by Application Server name
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy";
let $config := admin:get-configuration()
let $appServer := admin:appserver-get-id($config, admin:group-get-id($config, "Default"), "DemoAppServer")
return admin:appserver-get-ssl-client-certificate-authorities($config, $appServer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment