Comments (3)
The error message indicates that Ghostunnel can't connect to the Workload API because the specified file exist. What steps have you taken to debug the issue? Have you checked that the file exists and the connection should be possible? If not, this doesn't look like a bug to me.
from ghostunnel.
the following attachment README file have the steps to follow to work the workloadpai. and one more doubt here file exist means, which file and in which location it will create. and it is pointing to the following path,
.\pipe\backend-agent\public\api. this means where the file will create, my project repo path is given below.
C:\Users\prasanth_allu\SPIRE\ghostunnel\docs\spiffe-workload-api-demo\windows
README.md
or
SPIFFE Workload API Support Demo
The following demonstrates using the SPIFFE Workload API to supply Ghostunnel with an X.509 identity and trusted CA roots that are used to facilite communication between a frontend and backend service.
Prerequisites
ghostunnel binary from Ghostunnel
spire-server and spire-agent binaries from SPIRE
socat
Architecture
There are several processes involved in the demo:
Frontend client that sends TCP data
Frontend Ghostunnel that receives TCP data forwards it to the backend Ghostunnel over SPIFFE-authenticated mutual TLS
Backend Ghostunnel that receives TCP data over SPIFFE-authenticated mutual TLS and forwards it to the backend server
Backend server that receives TCP data
Frontend SPIRE agent that identifies the frontend Ghostunnel and issues it a frontend SPIFFE identity
Backend SPIRE agent that identifies the backend Ghostunnel and issues it a backend SPIFFE identity
SPIRE server that mints the identities and delivers them to agents according to workload registration
TCP mTLS TCP
Frontend ------> Frontend Ghostunnel --------> Backend Ghostunnel ------> Backend
^ ^
| |
| |
Frontend SPIRE Agent Backend SPIRE Agent
^ ^
| |
+ +
\ /
\ /
+---- SPIRE Server ----+
Steps
Run SPIRE Server
$ ./01-run-spire-server.sh
Run Backend SPIRE Agent
$ ./02-run-backend-agent.sh
Run Frontend SPIRE Agent
$ ./03-run-frontend-agent.sh
Register Frontend and Backend Ghostunnel Workloads
$ ./04-register-ghostunnel-workloads.sh
Run Backend Ghostunnel
$ ./05-run-backend-ghostunnel.sh
Run Frontend Ghostunnel
$ ./06-run-frontend-ghostunnel.sh
Run Backend
$ ./07-run-backend.sh
Send the Frontend Request
Run the following the send a request from the frontend.
$ ./08-send-frontend-request.sh
You should see the backend print out a message!
from ghostunnel.
I'm not quite sure I understand what you're saying. But the README you're pointing to is for a demo, to explain how one might use Ghostunnel with their own deployment of SPIRE or a compatible system. Hence why it's in the "docs" folder. It was never intended to be used for a production deployment. I'm not surprised it doesn't run on Windows either, as it was written for Linux.
I don't think there's anything to fix here so I will close this issue.
from ghostunnel.
Related Issues (20)
- Open Policy Agent support? HOT 7
- Support for OPA policies hot-reload and re-authorizing existing connections HOT 5
- CVE-2022-37434 HOT 6
- Help not show how to set cert HOT 1
- keystore password not working HOT 6
- GLIBC too old HOT 7
- Can't build HOT 2
- x/text dependendy should be updated to latest version for CVE-2022-32149 HOT 4
- PKCS11 tokens that don't support RSA-PSS don't work. We should make sure the mechanism is supported or handle the error HOT 3
- Windows binary .exe extension is missing HOT 1
- Add linux arm64 binaries in the official releases ? HOT 2
- Trying to use ghostunnel in client mode only to connect directly to a mysql server. Is this even possible? HOT 1
- Any plans to support DTLS? HOT 2
- Release 1.7.2 is missing binary ghostunnel-linux-amd64 HOT 2
- Workload API is not working in Windows. HOT 1
- spire for cert, no client validation fails HOT 7
- failed to build resolver: invalid (non-empty) authority
- [ documentation ] Comparision section HOT 1
- Why only support http/https, Why not support four layer proxies? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghostunnel.