marklogic

The certificate chain issued by an untrusted authority

感情迁移 提交于 2021-01-22 17:53:13
问题 I am using the curl terminal and while issuing the following command :- curl --anyauth --user admin:admin "https://localhost:8000/LATEST/search?q=caesar" I am getting below alert :- curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. Please suggest. I have installed curl in Windows and also downloaded the .pem file and placed it in the same folder. 回答1: If your server has a self

The certificate chain issued by an untrusted authority

五迷三道 提交于 2021-01-22 17:50:46
问题 I am using the curl terminal and while issuing the following command :- curl --anyauth --user admin:admin "https://localhost:8000/LATEST/search?q=caesar" I am getting below alert :- curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. Please suggest. I have installed curl in Windows and also downloaded the .pem file and placed it in the same folder. 回答1: If your server has a self

The certificate chain issued by an untrusted authority

假装没事ソ 提交于 2021-01-22 17:50:32
问题 I am using the curl terminal and while issuing the following command :- curl --anyauth --user admin:admin "https://localhost:8000/LATEST/search?q=caesar" I am getting below alert :- curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. Please suggest. I have installed curl in Windows and also downloaded the .pem file and placed it in the same folder. 回答1: If your server has a self

The certificate chain issued by an untrusted authority

守給你的承諾、 提交于 2021-01-22 17:48:38
问题 I am using the curl terminal and while issuing the following command :- curl --anyauth --user admin:admin "https://localhost:8000/LATEST/search?q=caesar" I am getting below alert :- curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. Please suggest. I have installed curl in Windows and also downloaded the .pem file and placed it in the same folder. 回答1: If your server has a self

How do I handle the REST API in node.js in Marklogic Grove?

我们两清 提交于 2021-01-05 12:44:32
问题 I am developing a UI application using MarkLogic Grove(React). By default, REST API calls from web browser will be forwarded directly to MarkLogic. For example: http://hostname/v1/resources/foo/ If the REST API is a specific path, I would like to do the processing in node.js as it is without forwarding the call to MarkLogic. Where and how should I implement it?(Only available to authenticated users.) For example:http://hostname/my-rest-api/bar I'd like some advice as there is too much source

How do I call the backend MarkLogic API from my own API in MarkLogic Grove?

戏子无情 提交于 2020-12-15 01:42:04
问题 This question is a continuation of the question below. How do I handle the REST API in node.js in Marklogic Grove? I was able to implement a sample REST API that can be called when authenticated with Grove, as shown below. middle-tier/routes/index.js const authProvider = require('../../grove-node-server-utils/auth-helper'); router.get('/my-rest-api/bar',(req, res) => { const response = {status : "success"}; authProvider.isAuthenticated(req,res,()=>{ res.send(response); }); }); Next, I want to

SVC-SOCBUF error in task server

丶灬走出姿态 提交于 2020-07-23 07:30:30
问题 I am getting SVC-SOCBUF errors in my MarkLogic task server. I am spawning lot of xdmp:http-post requests to my MarkLogic server. I am not sure whether that is causing the issues. Help me if you have faced similar issues. Any configuration to be modified? 回答1: It is usually an indication that there was something wrong with the response that came back from the remote server that is being called. It has been seen to occur with empty responses. HTH! 来源: https://stackoverflow.com/questions