On Wed, Oct 28, 2015 at 12:40 PM, Short, Brendan <[email protected]> wrote:

> Hello all,
>
> I’m attempting to make an API call using xdml:http-get and having a
> problem with the SSL certificate verification. Here’s the code I’m using:
>
> *let* *$accountInfo* := *xdmp:http-get*(*$baseURI*,
>                                  <options *xmlns*=*"xdmp:http"*>
>                                    <authentication *method*=*"basic"*>
>                                      <username>username</username>
>                                      <password>password</password>
>                                    </authentication>
>                                    <verify-cert>true</verify-cert>
>                                  </options>)
>
> And here’s the error message I get:
>
> System ID: /Users/bshort/Documents/Digital objects/api
> testing/get_account_test.xquery
> Severity: error
> Description: SVC-SOCCONN: xdmp:http-get("
> https://api-publisher.mirror-image.com:443/v5/
> <https://api-publisher.mirror-image.com/v5/>", <options
> xmlns="xdmp:http"><authentication
> method="basic"><username>nejm</username><passwor...</options>) -- Socket
> connect error: SSL_connect 172.16.12.139:52345-104.131.189.21:443:
> certificate verify failed (0x14090086)
> Start location: 13:0
>

Maybe obvious, but:

Does ML have the needed CA info to trust the received cert?
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to