POST https://daps.aisec.fraunhofer.de/v2/token
Error: unable to verify the first certificate
Request Headers
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
User-Agent: PostmanRuntime/7.29.0
Accept: /
Postman-Token: a605efa1-d506-4cc3-93ad-fca18b65a838
Host: daps.aisec.fraunhofer.de
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
DAPS Response:
JSONError: Unexpected token u in JSON at position 0
I have the exactly yml file used during the plugfest, the certificates at the right path, the same config... including the false at the DAPS_VALIDATE_INCOMING etc.
Any hint about this? Could I provide any additional config or file that helps?
Solved here.
It had to do with the POSTMAN settings, not with the Broker config or code.
I had “ssl certificate verification” turned on… turning it “off” solved the problem
.
I followed instructions from https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/blob/master/README.md and it seems that the Broker starts correctly. Checking https://localhost seems to be working ok too.
But when I load the postman collection (https://www.postman.com/collections/0a8f223c9141de195795 , from the 10th May plugfest) and try to run, for example, the GET SelfDescription I get this error:
POST https://daps.aisec.fraunhofer.de/v2/token Error: unable to verify the first certificate Request Headers Content-Type: application/x-www-form-urlencoded;charset=UTF-8 User-Agent: PostmanRuntime/7.29.0 Accept: / Postman-Token: a605efa1-d506-4cc3-93ad-fca18b65a838 Host: daps.aisec.fraunhofer.de Accept-Encoding: gzip, deflate, br Connection: keep-alive Request Body
DAPS Response: JSONError: Unexpected token u in JSON at position 0
I have the exactly yml file used during the plugfest, the certificates at the right path, the same config... including the false at the DAPS_VALIDATE_INCOMING etc.
Any hint about this? Could I provide any additional config or file that helps?
Thank you so much in advance.