International-Data-Spaces-Association / IDS-testbed

Apache License 2.0
24 stars 32 forks source link

Vault certificates problems #128

Closed CarlosCobAtos closed 1 year ago

CarlosCobAtos commented 1 year ago

Hello,

I am attempting to deploy the IDS-Testbed utilizing Vault certificates. I have thoroughly followed all documentation and have properly set permissions (chmod 644) for all certificates. Initially, everything appears to be working correctly. However, when the connector receives the Token from the broker-reverseproxy, a NOT_AUTHENTICATED error occurs and breaks the connection with the connector. Could I create a branch throught this issue to share the code?

The logs are: connectorb | 2023-06-02T09:41:03,271 [https-jsse-nio-8081-exec-3] INFO - Using cached DAPS DAT. [expiration=(2023-06-02T10:40:35.000+0000), code=(IMSCOI0053)] connectorb | 2023-06-02T09:41:03,454 [https-jsse-nio-8081-exec-3] INFO - Successfully loaded Keystore. [code=(IMSCOI0049)] connectorb | 2023-06-02T09:41:03,652 [https-jsse-nio-8081-exec-3] INFO - Successfully loaded Truststore. [code=(IMSCOI0049)] connectorb | 2023-06-02T09:41:03,679 [https-jsse-nio-8081-exec-3] INFO - Using cached DAPS DAT. [expiration=(2023-06-02T10:40:35.000+0000), code=(IMSCOI0053)] connectorb | 2023-06-02T09:41:03,833 [https-jsse-nio-8081-exec-3] INFO - Sending request to https://broker-reverseproxy/infrastructure ... [code=(IMSMEI0065)] broker-reverseproxy | 192.168.16.6 - - [02/Jun/2023:09:41:09 +0000] "POST /infrastructure HTTP/1.1" 200 2930 "-" "okhttp/4.10.0" connectorb | 2023-06-02T09:41:09,986 [https-jsse-nio-8081-exec-3] INFO - Successfully received response to request. [code=(IMSMEI0067)] connectorb | 2023-06-02T09:41:10,066 [https-jsse-nio-8081-exec-3] INFO - Initializing SHACL shapes. connectorb | 2023-06-02T09:41:10,067 [https-jsse-nio-8081-exec-3] INFO - Loading SHACL shapes from resources. You can optionally download the latest shapes from GitHub. connectorb | 2023-06-02T09:41:14,592 [https-jsse-nio-8081-exec-3] INFO - Loading ontology from resources connectorb | 2023-06-02T09:41:14,812 [https-jsse-nio-8081-exec-3] INFO - Initialization of SHACL shapes complete. connectorb | 2023-06-02T09:41:14,901 [https-jsse-nio-8081-exec-3] INFO - Successfully passed SHACL-Validation. [code=(IMSMEI0064)] connectorb | 2023-06-02T09:41:15,066 [https-jsse-nio-8081-exec-3] DEBUG - Received unexpected response message. [response=({reason=https://w3id.org/idsa/code/NOT_AUTHENTICATED, payload=An error occurred while verifying your token, type=class de.fraunhofer.iais.eis.RejectionMessageImpl})]