Hi Geert,
xdmp:http-get() function is not working for "https" URL's. Its working fine
with "http" only. I tried with many URL's. Please find below one example:
xdmp:http-get("http://www.tutorialspoint.com/",()) This working fine.
But not working for
xdmp:http-get("https://en.wikipedia.org/wiki/MarkLogic",()) and I am getting
error :
Socket connect error: SSL_connect 192.168.1.7:61527-208.80.154.224:443:
certificate verify failed
So, xdmp:http-get() function is not able to call "https" URL's, then what is
the solution for this. How can I call "https" from MarkLogic code side?
Regards,Asit Nautiyal
From: [email protected]
To: [email protected]
Date: Thu, 19 Nov 2015 18:54:47 +0000
Subject: Re: [MarkLogic Dev General] How to call "https" URL using
xdmp:http-get() method
Hi Asit,
It should normally be enough to just replace http with https in the URL. There
are a few options regarding ssl certs, but those are normally not necessary..
Kind regards,
Geert
From: <[email protected]> on behalf of Asit Nautiyal
<[email protected]>
Reply-To: MarkLogic Developer Discussion <[email protected]>
Date: Thursday, November 19, 2015 at 6:58 PM
To: "[email protected]" <[email protected]>
Subject: [MarkLogic Dev General] How to call "https" URL using xdmp:http-get()
method
Hi,
We have implemented SSL on http server in MarkLogic. Now, I am not able to
access rest api's using xdmp:http-get() method from that http server because
all URL has been changed from "http" to "https". I am getting
Socket_connection:SSL error.
How can I call "https" URLs using xdmp:http-get() method?
Regards,
Asit Nautiyal
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general