Created
August 14, 2018 17:13
-
-
Save ableasdale/f4f5c448e7828aabb80c2f99a1122c1a to your computer and use it in GitHub Desktop.
MarkLogic: Insert Trusted Certificate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "1.0-ml"; | |
import module namespace pki = "http://marklogic.com/xdmp/pki" at "/MarkLogic/pki.xqy"; | |
pki:insert-trusted-certificates( | |
xdmp:document-get("/tmp/rootca.cer", | |
<options xmlns="xdmp:document-get"> | |
<format>text</format> | |
</options>) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment