Comments (2)
Another possibility: generate a certificate in advance, common to all Agent instances. The certificate's domain will be incorrect in this case so the Cryostat server's webclient will need to ignore host verification. This certificate would be bundled as a resource in the Agent JAR as well as included in the Cryostat server's default truststore. This way, the Agent instances can always present an HTTPS API and all data leaving the Agent can always be encrypted with this cert, and the Cryostat server can at least trust this certificate for its Agent webclients, even if it cannot verify the hostname. This way there is a zero-configuration setup that allows HTTPS to be always on for Cryostat<->Agent communications.
In the future this could be extended with a configurable setup that allows the user to supply their own cert as originally outlined at the top of this issue. The Operator could be in charge of supplying this cert to the Agent for it to use for its embedded HTTPS server, and to the Cryostat instance in its truststore. This would allow more granularity so that the certificate is common to all Agents within a given Namespace, rather than all Agent instances indiscriminately.
from cryostat-agent.
https://stackoverflow.com/questions/2308479/simple-java-https-server
from cryostat-agent.
Related Issues (20)
- [Story] Smart Triggers API
- [Story] Smart Triggers from file/resource
- [Epic] Agent dynamic attach HOT 3
- [Task] Require server URL to use private-range IP by default
- [Task] Test Smart Triggers with downgraded protobuf
- [Bug] Agent startup failure with JBoss EAP HOT 7
- [Bug] Avoid using `localhost:0` "self-reference" JMX connection
- [Bug] Shaded JAR Manifest includes `Class-Path` entry
- [Bug] Agent cannot accept `ALL` event template in recording start requests HOT 1
- [Question] Drop Dagger DI? HOT 3
- [Bug] Agent loses registration with server, does not re-attempt HOT 1
- [Task] Publish to Maven Central
- [Task] Basic auth user should be configurable
- [Bug] Use SSLContext with TLS v1.2 or v1.3
- [Request] Audit log levels and ensure appropriate level is selected
- [Epic] Kubernetes/OpenShift awareness
- [Task] detect default service account token and try to present this for Cryostat authorization, if nothing else specified
- [Bug] Harvester-created snapshots are left behind if they are empty when created
- [Request] Shut down Agent without exiting host JVM
- [Bug] Host part of dual-registration URLs can differ
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 cryostat-agent.