Created
January 28, 2016 12:17
-
-
Save ableasdale/40078492aa612b153a49 to your computer and use it in GitHub Desktop.
Using Query Console to load a trusted certificate into MarkLogic Server
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("/OurCertificateLocation/DemoLabCA.pem", | |
| <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